dockerfile

This commit is contained in:
cupcakearmy 2022-07-20 10:56:36 +02:00
parent 1ccb8f653e
commit 6f5647deb8
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
1 changed files with 2 additions and 1 deletions

View File

@ -2,8 +2,9 @@
FROM node:16-alpine as client
WORKDIR /tmp
RUN npm install -g pnpm@7
COPY ./frontend ./
COPY ./frontend/package.json ./frontend/pnpm-lock.yaml ./
RUN pnpm install
COPY ./frontend ./
RUN pnpm exec svelte-kit sync
RUN pnpm run build