diff --git a/Dockerfile b/Dockerfile index dfb2909..b28db99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ RUN pip install --no-cache-dir -r requirements.txt EXPOSE 5001 RUN adduser -D app +RUN chown -R app:app ../app USER app CMD ["gunicorn","-w 2", "-b 0.0.0.0:5001", "wsgi:app"]