Skip to content

Commit

Permalink
fix docker update
Browse files Browse the repository at this point in the history
  • Loading branch information
kalidiagne committed Oct 30, 2024
1 parent 1875517 commit 0eb5d13
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 @@ -4,7 +4,7 @@ RUN apk add --no-cache git curl
WORKDIR /builder

COPY package.json yarn.lock ./
RUN npm i -g yarn && yarn install
RUN yarn install

COPY . .
RUN yarn build
Expand All @@ -15,7 +15,7 @@ FROM node:18-alpine3.18 as runner
USER node

WORKDIR /home/node
COPY --chown=node:node --from=builder /builder/ ./
COPY --chown=node:node --from=builder /builder/ ./

ARG PORT=3000
EXPOSE ${PORT}
Expand Down

0 comments on commit 0eb5d13

Please sign in to comment.