aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico fuji97 Rapetti <[email protected]>2022-01-11 23:33:12 +0100
committerFederico fuji97 Rapetti <[email protected]>2022-01-11 23:33:12 +0100
commit19848ba9f71cb59c4e1b5a6a7e2ea567a192365f (patch)
tree0cb69aeeaf67db45e0be6016904f3624ee6501f5
parentce686b42815c4f7a1e87496612a647009da7a741 (diff)
downloadmuse-19848ba9f71cb59c4e1b5a6a7e2ea567a192365f.tar.xz
muse-19848ba9f71cb59c4e1b5a6a7e2ea567a192365f.zip
Edit Docker templates
-rw-r--r--Dockerfile1
-rw-r--r--README.md2
2 files changed, 2 insertions, 1 deletions
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