Dockerfile: chmod dist to 777 for config.ts compilation

This commit is contained in:
Wroclaw 2024-04-24 02:38:52 +02:00
parent b567e13f2a
commit 370b7623b5

View file

@ -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