fixed dockerfile
This commit is contained in:
parent
151cd8b213
commit
6750814646
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
RUN adduser -D app
|
RUN adduser -D app
|
||||||
|
RUN chown -R app:app ../app
|
||||||
USER app
|
USER app
|
||||||
|
|
||||||
CMD ["gunicorn","-w 2", "-b 0.0.0.0:5000", "wsgi:app"]
|
CMD ["gunicorn","-w 2", "-b 0.0.0.0:5000", "wsgi:app"]
|
||||||
|
|
Loading…
Reference in a new issue