FROM node:21.1-alpine as base RUN pnpm i --global vite FROM node:21.1-alpine as builder WORKDIR /app/ COPY package.json . COPY pnpm-lock.yaml . RUN cargo build CMD [ "cargo", "run" ]