fix docker update

This commit is contained in:
Kalidou Diagne
2024-10-30 20:05:45 +01:00
parent 1875517514
commit 0eb5d132da

View File

@@ -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}