Initial commit

This commit is contained in:
wsc-admin
2026-04-02 19:35:45 +09:00
commit 20280a062f
14 changed files with 123 additions and 0 deletions

14
Dockerfile Normal file
View File

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