This commit is contained in:
iFargle
2023-02-15 17:13:57 +09:00
parent 4c7a6dbd90
commit cdbed4fcde
2 changed files with 1 additions and 4 deletions

View File

@@ -46,10 +46,6 @@ ENV BUILD_DATE=$BUILD_DATE_ARG
VOLUME /etc/headscale
VOLUME /data
USER root
RUN mkdir -p /data && chown 1000:1000 /data
USER 1000
EXPOSE 5000/tcp
ENTRYPOINT ["/app/entrypoint.sh"]
CMD gunicorn -w 4 -b 0.0.0.0:5000 server:app

View File

@@ -1,3 +1,4 @@
#!/bin/sh
. /app/.venv/bin/activate
chown -R 1000:1000 /data
exec "$@"