[init] project

This commit is contained in:
Data-Name-ID
2024-04-02 00:51:49 +03:00
commit 52233d0028
28 changed files with 685 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM node:lts-alpine3.19 AS builder
ENV NODE_ENV production
WORKDIR /app
COPY ./package.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:stable-alpine3.17-slim
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf