Skip to content

Commit 5003981

Browse files
authored
Dockerfile
1 parent 8aac714 commit 5003981

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ USER node
33
COPY . /usr/src/app
44
WORKDIR /usr/src/app
55
ADD . /usr/src/app
6-
ENV NODE_ENV production
7-
RUN npm install --force
6+
ENV NODE_ENV production npm install
87
RUN npm run build
98

109
ENV PORT=8080

0 commit comments

Comments
 (0)