From 19848ba9f71cb59c4e1b5a6a7e2ea567a192365f Mon Sep 17 00:00:00 2001 From: Federico fuji97 Rapetti Date: Tue, 11 Jan 2022 23:33:12 +0100 Subject: [PATCH] Edit Docker templates --- Dockerfile | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b58556a..2a8ac5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,5 +30,6 @@ FROM base AS prod COPY --from=builder /usr/app/dist dist ENV DATA_DIR /data +ENV NODE_ENV production CMD ["yarn", "start"] diff --git a/README.md b/README.md index 292355e..e1145f6 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ services: - YOUTUBE_API_KEY= - SPOTIFY_CLIENT_ID= - SPOTIFY_CLIENT_SECRET= - - NODE_ENV=development + # - NODE_ENV=production ``` #### Node.js