Skip to content

Commit

Permalink
Chown with 99:100 GID:UID in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinHeist authored Jul 26, 2023
1 parent 220f9ac commit dcce685
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ ENV TCM_PREFERENCES=/config/preferences.yml \
# Override default ImageMagick policy XML file
RUN set -eux; \
rm -f Pipfile Pipfile.lock; \
groupadd -g 314 titlecardmaker; \
useradd -u 314 -g 314 titlecardmaker; \
groupadd -g 99 titlecardmaker; \
useradd -u 100 -g 99 titlecardmaker; \
apt-get update; \
apt-get install -y --no-install-recommends imagemagick libmagickcore-6.q16-6-extra; \
rm -rf /var/lib/apt/lists/*; \
cp modules/ref/policy.xml /etc/ImageMagick-6/policy.xml

# Entrypoint
CMD ["python3", "main.py", "--run", "--no-color"]
ENTRYPOINT ["bash", "./start.sh"]
ENTRYPOINT ["bash", "./start.sh"]

0 comments on commit dcce685

Please sign in to comment.