Docker: default to non-root exec
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
d023ec8d73
commit
3f12258e98
|
@ -5,4 +5,6 @@ RUN apk add --no-cache python3 py3-lxml py3-pip py3-wheel git
|
||||||
ADD . /app
|
ADD . /app
|
||||||
RUN pip3 install --no-cache-dir /app[full] gunicorn
|
RUN pip3 install --no-cache-dir /app[full] gunicorn
|
||||||
|
|
||||||
|
USER 1000:1000
|
||||||
|
|
||||||
CMD gunicorn --bind 0.0.0.0:8000 -w 4 --preload --access-logfile - morss
|
CMD gunicorn --bind 0.0.0.0:8000 -w 4 --preload --access-logfile - morss
|
||||||
|
|
Loading…
Reference in New Issue