Create group explicitly in Dockerfile
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/tag Build is failing Details

This commit is contained in:
Luca 2023-12-22 18:23:55 +01:00
parent 3e44b21bc7
commit c47fc1a3e7
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ ENV PORT=8000
ENV STATIC_DIR=/public/static
EXPOSE 8000
RUN adduser --disabled-password --home /app --system --uid 19143 ljg && \
RUN addgroup --gid 19143 --system ljg && \
adduser --disabled-password --home /app --in-group ljg --system --uid 19143 ljg && \
mkdir /public && \
chown -R 19143:19143 /public