stock-tracker

This commit is contained in:
C菌 committed 2026-07-04 00:17:11 +08:00
commit 6087341a48
6463 files changed
+1929869

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
FROM node:20-alpine AS builder
RUN corepack enable && corepack prepare pnpm@latest --activate
WORKDIR /app
COPY pnpm-lock.yaml package.json ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]