Compare commits

..

2 Commits

Author SHA1 Message Date
pictuga 3f12258e98 Docker: default to non-root exec
continuous-integration/drone/push Build is passing Details
2021-10-19 22:20:44 +02:00
pictuga d023ec8d73 Change default port to 8000 2021-10-19 22:19:59 +02:00
1 changed files with 3 additions and 1 deletions

View File

@ -5,4 +5,6 @@ RUN apk add --no-cache python3 py3-lxml py3-pip py3-wheel git
ADD . /app
RUN pip3 install --no-cache-dir /app[full] gunicorn
CMD gunicorn --bind 0.0.0.0:8080 -w 4 --preload --access-logfile - morss
USER 1000:1000
CMD gunicorn --bind 0.0.0.0:8000 -w 4 --preload --access-logfile - morss