diff --git a/Dockerfile b/Dockerfile index 9f6bb72d..ed93e20f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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}