From faf05cbb0a892b3865bfe0db080111e667d1dc97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=BE=D0=BB=D1=8E=D0=BD=D1=8F?= <51743518+koxx009@users.noreply.github.com> Date: Thu, 27 May 2021 15:54:41 +0300 Subject: [PATCH] Fix permission for /backend Fix permission for /backend Issue: https://github.com/doccano/doccano/issues/1381#issue-903696635 --- backend/Dockerfile.prod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/Dockerfile.prod b/backend/Dockerfile.prod index 8756fa99..e00f56cb 100644 --- a/backend/Dockerfile.prod +++ b/backend/Dockerfile.prod @@ -31,7 +31,8 @@ COPY --chown=doccano:doccano tools/ /opt/bin/ RUN mkdir -p /backend/staticfiles \ && chown -R doccano:doccano /backend/staticfiles \ && mkdir -p /backend/client/dist/static \ - && chown -R doccano:doccano /backend/client/dist/static + && chown -R doccano:doccano /backend/client/dist/static \ + && chown -R doccano:doccano /backend/ USER doccano:doccano VOLUME /backend/staticfiles