Edit Docker templates

This commit is contained in:
Federico fuji97 Rapetti 2022-01-11 23:33:12 +01:00
parent ce686b4281
commit 19848ba9f7
2 changed files with 2 additions and 1 deletions

View file

@ -30,5 +30,6 @@ FROM base AS prod
COPY --from=builder /usr/app/dist dist COPY --from=builder /usr/app/dist dist
ENV DATA_DIR /data ENV DATA_DIR /data
ENV NODE_ENV production
CMD ["yarn", "start"] CMD ["yarn", "start"]

View file

@ -69,7 +69,7 @@ services:
- YOUTUBE_API_KEY= - YOUTUBE_API_KEY=
- SPOTIFY_CLIENT_ID= - SPOTIFY_CLIENT_ID=
- SPOTIFY_CLIENT_SECRET= - SPOTIFY_CLIENT_SECRET=
- NODE_ENV=development # - NODE_ENV=production
``` ```
#### Node.js #### Node.js