🐛 fix(Dockerfile): Create /atheme/etc to avoid permission errors
This commit is contained in:
parent
68c7052480
commit
93f7a611d3
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
ARG ATHEME_UID=10000
|
||||
ARG ATHEME_UID=1000
|
||||
ARG ATHEME_VERSION
|
||||
ARG BUILD_CONTRIB_MODULES=
|
||||
|
||||
|
@ -51,6 +51,8 @@ COPY entrypoint.sh /
|
|||
|
||||
RUN adduser -D -h /atheme -u $ATHEME_UID atheme
|
||||
RUN chown -R atheme /atheme
|
||||
RUN mkdir /atheme/etc
|
||||
RUN chown -R atheme /atheme/etc
|
||||
USER atheme
|
||||
|
||||
# Services config & DB
|
||||
|
|
Loading…
Reference in a new issue