cuddle-react-plan/templates/build_release.Dockerfile

14 lines
190 B
Docker
Raw Normal View History

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