Skip to content

Commit

Permalink
Merge pull request #223 from privacy-scaling-explorations/docker-upda…
Browse files Browse the repository at this point in the history
…te-2

fix docker update
  • Loading branch information
kalidiagne authored Oct 30, 2024
2 parents c1ae0b0 + 0eb5d13 commit f2fb589
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 f2fb589

Please sign in to comment.