🐛 fix(Dockerfile): Create /atheme/etc to avoid permission errors

This commit is contained in:
punkfairie 2024-10-12 20:25:41 -07:00
parent 68c7052480
commit 93f7a611d3
Signed by: punkfairie
GPG key ID: 01823C057725C266

View file

@ -1,4 +1,4 @@
ARG ATHEME_UID=10000 ARG ATHEME_UID=1000
ARG ATHEME_VERSION ARG ATHEME_VERSION
ARG BUILD_CONTRIB_MODULES= ARG BUILD_CONTRIB_MODULES=
@ -51,6 +51,8 @@ COPY entrypoint.sh /
RUN adduser -D -h /atheme -u $ATHEME_UID atheme RUN adduser -D -h /atheme -u $ATHEME_UID atheme
RUN chown -R atheme /atheme RUN chown -R atheme /atheme
RUN mkdir /atheme/etc
RUN chown -R atheme /atheme/etc
USER atheme USER atheme
# Services config & DB # Services config & DB