Create group explicitly in Dockerfile
This commit is contained in:
parent
3e44b21bc7
commit
c47fc1a3e7
|
@ -4,7 +4,8 @@ ENV PORT=8000
|
||||||
ENV STATIC_DIR=/public/static
|
ENV STATIC_DIR=/public/static
|
||||||
EXPOSE 8000
|
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 && \
|
mkdir /public && \
|
||||||
chown -R 19143:19143 /public
|
chown -R 19143:19143 /public
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue