We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2167415 commit 7ff0d74Copy full SHA for 7ff0d74
Dockerfile
@@ -2,7 +2,7 @@ FROM node:14
2
ENV NODE_ENV production
3
WORKDIR /usr/src/app
4
COPY ["package.json", "yarn.lock", "./"]
5
-RUN yarn && mv node_modules ../
+RUN yarn --prod && mv node_modules ../
6
COPY . .
7
VOLUME [ "./data" ]
8
COPY "config.example.json" "./data"
0 commit comments