This commit is contained in:
2023-04-19 20:13:35 +02:00
parent fe13e89d8a
commit f7a4b6ab72
3 changed files with 6 additions and 1 deletions
+4
View File
@@ -2,9 +2,12 @@ FROM python:3-alpine
RUN apk add --no-cache --upgrade bash
RUN mkdir -p /www
RUN chown -R 1000:1000 /www
WORKDIR /www
COPY . .
#COPY --chown=1000:1000 . .
#COPY --chown=daemon:daemon settings.ini.example settings.ini
RUN cp settings.ini.example settings.ini
RUN chmod +x start.sh
RUN set -e; \
@@ -17,4 +20,5 @@ RUN set -e; \
apk del .build-deps;
#EXPOSE 9090
USER 1000
ENTRYPOINT ["./start.sh"]