Me was dumb dumb
Some checks failed
Build Docker Image and Deploy / Build Image and push to Registry (push) Successful in 1m13s
Build Docker Image and Deploy / Deploy on webserver (push) Failing after 10s

This commit is contained in:
Cyril Šebek 2024-07-07 21:36:37 +02:00
parent cedd3c8849
commit 8da5cc7970
Signed by: blboun3
SSH Key Fingerprint: SHA256:n9dMtOPzgsD+CCerUJslEnU2dzVanbaIv0XDQVRVjeg

View File

@ -17,10 +17,12 @@ RUN npm run build
FROM node:lts-slim as prod
WORKDIR /app
RUN corepack enable pnpm
COPY --from=build /app/dist /app/dist
COPY --from=build /app/package.json /app/package.json
COPY --from=build /app/pnpm-lock.yaml /app/pnpm-lock.yaml
RUN pnpm install
RUN pnpm install --frozen-lockfile
EXPOSE 4321