Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy authored Jan 23, 2024
1 parent 0c611a9 commit 4833eef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
FROM node:14-alpine AS base

ENV NODE_ENV=production

FROM base AS modules

WORKDIR /app
RUN apk add g++ make python3 --no-cache
# install only production modules
COPY package.json package-lock.json .
RUN npm ci --production
RUN npm --version
RUN npm ci

FROM base AS deploy

Expand Down

0 comments on commit 4833eef

Please sign in to comment.