summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYulqen <246857+yulqen@users.noreply.github.com>2024-04-24 14:33:54 +0100
committerGitHub <noreply@github.com>2024-04-24 14:33:54 +0100
commit734dfdcc6107c7801c6edb6a2c74a85874b1acf3 (patch)
tree77ba702d47f149471a3261cc30079f3996d01060
parentbb4afa6e315040e3aaa9a708d217d704880b784b (diff)
parent93ed3ce7f5ccf326f61619d073e9be0e235843f5 (diff)
Merge pull request #31 from defencedigital/pyswitch
Ensuring permissions set in final image for db purposes
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 74cc722..449915b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,6 +26,7 @@ COPY --from=builder /app /app
# Install the required packages in the final stage
RUN pip install -r requirements.txt
+RUN chown -R 1001:0 /app
# Set the appropriate user
USER 1001