Skip to content

Commit

Permalink
fix production only
Browse files Browse the repository at this point in the history
  • Loading branch information
traderpedroso committed Aug 24, 2024
1 parent 8dbda0c commit d8f6b02
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ RUN npm run build
FROM base as production
WORKDIR /app

ENV NODE_ENV=production
RUN npm ci

RUN addgroup -g 1001 -S nodejs
Expand All @@ -28,8 +27,3 @@ COPY --from=builder /app/public ./public

CMD npm start

FROM base as dev
ENV NODE_ENV=development
RUN npm install
COPY . .
CMD npm run dev

0 comments on commit d8f6b02

Please sign in to comment.