From 4b95924970296c2758a44ab53bf6cb10919d5714 Mon Sep 17 00:00:00 2001 From: JuniorJPDJ Date: Mon, 20 Sep 2021 12:42:41 +0200 Subject: [PATCH] Allow running docker container as non-root (quick fix) --- api/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Dockerfile b/api/Dockerfile index b8a0334a5..c66994dda 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -66,7 +66,7 @@ RUN apk add --no-cache \ COPY . /app WORKDIR /app -RUN chmod 755 compose compose/django +RUN find . -type d -exec chmod 755 {} \+ ENTRYPOINT ["./compose/django/entrypoint.sh"] CMD ["./compose/django/server.sh"]