fixed dockerfile

This commit is contained in:
Patrick 2024-11-17 00:16:31 +01:00
parent fb3efda5ab
commit f944245238

View file

@ -7,6 +7,7 @@ RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 5001 EXPOSE 5001
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:5001", "wsgi:app"] CMD ["gunicorn","-w 2", "-b 0.0.0.0:5001", "wsgi:app"]