Run as non-root user
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2020-01-04 12:54:30 +00:00
parent 7cf1d93a38
commit f77ed217e2
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -40,6 +40,8 @@ COPY --from=frontend /usr/src/app/frontend/dist/ frontend/dist
COPY *.py ./
USER 1000
VOLUME ["/usr/src/app/cache/"]
ENTRYPOINT ["gunicorn", "mangareader:app", "--bind", "0.0.0.0:8000", "--chdir", "/library"]