14 lines
190 B
Docker
14 lines
190 B
Docker
FROM node:22.2-alpine as base
|
|
RUN pnpm i --global vite
|
|
|
|
FROM node:22.2-alpine as builder
|
|
|
|
WORKDIR /app/
|
|
|
|
COPY package.json .
|
|
COPY pnpm-lock.yaml .
|
|
|
|
RUN cargo build
|
|
|
|
CMD [ "cargo", "run" ]
|