Skip to content

Commit

Permalink
refer to stage name
Browse files Browse the repository at this point in the history
  • Loading branch information
tahsinature committed May 20, 2024
1 parent 94c0f6c commit 7c3c93f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ COPY . .



FROM node:20.11.0-alpine3.19 as builder
FROM base as builder
WORKDIR /app
COPY . .
COPY --from=base /app/node_modules ./node_modules
RUN npm run build



FROM node:20.11.0-alpine3.19 as production
FROM builder as production
WORKDIR /app

RUN wget -q -t3 'https://packages.doppler.com/public/cli/rsa.8004D9FF50437357.key' -O /etc/apk/keys/[email protected] && \
Expand Down

0 comments on commit 7c3c93f

Please sign in to comment.