Run as non-root user
continuous-integration/drone/push Build is passing Details

master
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
1 changed files with 2 additions and 0 deletions

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"]