Pnpm-ify dockerfile
Some checks failed
Build Docker Image and Deploy / Build Image and push to Registry (push) Failing after 1m22s
Build Docker Image and Deploy / Deploy on webserver (push) Has been skipped

This commit is contained in:
Cyril Šebek 2024-07-07 21:26:11 +02:00
parent abbb4a26ac
commit 6197331f20
Signed by: blboun3
SSH Key Fingerprint: SHA256:n9dMtOPzgsD+CCerUJslEnU2dzVanbaIv0XDQVRVjeg

View File

@ -1,8 +1,10 @@
FROM node:lts-slim AS build FROM node:lts-slim AS build
WORKDIR /app WORKDIR /app
RUN corepack enable pnpm
COPY package.json package.json COPY package.json package.json
RUN npm install RUN pnpm install
COPY public/ public COPY public/ public
COPY src/ src COPY src/ src