This commit is contained in:
2025-12-19 14:26:09 +08:00
parent 4c849c2c3d
commit 2f4b5d0870
166 changed files with 43871 additions and 1 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
# build stage
FROM node:lts-alpine as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm install
RUN npm run build
# production stage
FROM nginx as production-stage
COPY --from=build-stage /app /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]