Skip to content

Commit

Permalink
feat(nx-container): fix generator
Browse files Browse the repository at this point in the history
  • Loading branch information
gperdomor committed Nov 7, 2023
1 parent 69f7acf commit 27a1267
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM docker.io/node:lts-alpine as deps
RUN apk add --no-cache libc6-compat
WORKDIR /usr/src/app
COPY dist/apps/<%= projectName %>/package*.json ./
RUN npm install --only=production
RUN npm install --omit=dev

# Production image, copy all the files and run nest
FROM docker.io/node:lts-alpine as runner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM docker.io/node:lts-alpine as deps
RUN apk add --no-cache libc6-compat
WORKDIR /usr/src/app
COPY dist/apps/<%= projectName %>/package*.json ./
RUN npm install --only=production
RUN npm install --omit=dev

# Production image, copy all the files and run next
FROM docker.io/node:lts-alpine as runner
Expand Down

0 comments on commit 27a1267

Please sign in to comment.