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