1
0
mirror of synced 2026-10-07 23:31:24 +08:00
Files
cook/Dockerfile
2026-08-12 23:19:29 +08:00

14 lines
244 B
Docker

FROM node:24-alpine AS builder
RUN apk update
RUN npm install -g pnpm@11.21.0
WORKDIR /app
COPY . .
RUN pnpm install --frozen-lockfile && pnpm run build
FROM nginx:stable-alpine
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80