Skip to content

Commit 7ff0d74

Browse files
committed
build(image): update dockerfile
1 parent 2167415 commit 7ff0d74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM node:14
22
ENV NODE_ENV production
33
WORKDIR /usr/src/app
44
COPY ["package.json", "yarn.lock", "./"]
5-
RUN yarn && mv node_modules ../
5+
RUN yarn --prod && mv node_modules ../
66
COPY . .
77
VOLUME [ "./data" ]
88
COPY "config.example.json" "./data"

0 commit comments

Comments
 (0)