From 370b7623b5a6f189de96f4f877ca59216c784b4a Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Wed, 24 Apr 2024 02:38:52 +0200 Subject: [PATCH] Dockerfile: chmod dist to 777 for config.ts compilation --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 32d0e7f..52b9fb1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,11 @@ COPY src ./src COPY scripts ./scripts RUN npx tsc +# Permissions for dist directory, +# so config.ts can be compiled there during runtime +# regardless of the user of the container +RUN chmod 777 dist + # Run the app CMD ["node", "dist/src/index.js"] STOPSIGNAL SIGINT