website/Dockerfile
2022-11-10 17:18:05 +02:00

18 lines
187 B
Docker

FROM node:19-alpine
WORKDIR /usr/src/app
COPY package.json ./
COPY pnpm-lock.yaml ./
RUN npm install -g pnpm
RUN pnpm i
COPY . .
RUN pnpm build
EXPOSE 80
CMD [ "pnpm", "preview" ]