cuddle-react-plan/templates/build_release.Dockerfile

14 lines
190 B
Docker
Raw Normal View History

2022-12-14 22:59:03 +01:00
FROM node:19.3-alpine as base
2022-08-11 22:22:45 +02:00
RUN pnpm i --global vite
2022-12-14 22:59:03 +01:00
FROM node:19.3-alpine as builder
2022-08-11 22:22:45 +02:00
WORKDIR /app/
COPY package.json .
COPY pnpm-lock.yaml .
RUN cargo build
CMD [ "cargo", "run" ]