diff --git a/Dockerfile b/Dockerfile index 78eca957d04d446b7527f5fd6b151bc1ff2938bf..67fe94cc47f430a4f20e49e8e285fe304d55f386 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ COPY --from=builder /wheels /wheels # permissions and nonroot user for tightened security RUN useradd --system nonroot -RUN mkdir /opt/app/ && chown -R nonroot:nonroot /opt/app +RUN mkdir -p /opt/app/ && chown -R nonroot:nonroot /opt/app WORKDIR /opt/app USER nonroot @@ -54,4 +54,4 @@ EXPOSE 8000 # upload folder VOLUME /opt/app/uploads -CMD ["uwsgi", "uwsgi.ini"] \ No newline at end of file +CMD ["uwsgi", "uwsgi.ini"]