From cd2282802b1403bed0340c5f7ed7172844e0d394 Mon Sep 17 00:00:00 2001 From: kmcquade Date: Mon, 1 Jul 2024 12:23:07 -0400 Subject: [PATCH] try chmoding the directory where the database gets added --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index cb2b409..44b223a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,8 @@ WORKDIR /flask_app COPY flask_app . COPY --from=builder /flask_app/venv /flask_app/venv +RUN mkdir -p /flask_app/instance && \ + chmod -R 754 /flask_app/instance ENV PATH="/flask_app/venv/bin:$PATH" EXPOSE 4000