1
0
mirror of synced 2026-02-04 05:51:32 +08:00
Files
cook/Dockerfile
2025-10-07 20:08:49 +08:00

14 lines
219 B
Docker

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