Skip to content

Commit bc4a9c7

Browse files
PauloGoncalvesBHPaulo Gonçalves
authored andcommitted
chore(docker): avoid using 'prepare' on prod image
1 parent befbf6e commit bc4a9c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ CMD [ "npm", "run", "dev" ]
3939

4040
FROM base as prod
4141

42-
RUN npm ci --production
42+
RUN npm ci --production --ignore-scripts
4343

4444
COPY . .
4545

0 commit comments

Comments
 (0)