Merge branch 'dev-defuj' of https://github.com/defuj/eis into development

This commit is contained in:
Dede Fuji Abdul
2024-02-28 15:29:06 +07:00
97 changed files with 8491 additions and 4976 deletions

View File

@@ -1,9 +1,9 @@
# FROM node:lts-alpine as build-stage
# WORKDIR /app
FROM node:lts-alpine as build-stage
WORKDIR /app
# COPY package*.json ./
# RUN npm install
# COPY . .
# RUN npm run build
COPY . .
RUN npm run build
# FROM nginx:stable-alpine as production-stage
# COPY --from=build-stage /app/dist /usr/share/nginx/html
@@ -15,4 +15,10 @@ FROM nginx:stable-alpine
COPY /dist /usr/share/nginx/html
COPY /nginx.conf /etc/nginx/nginx.conf
EXPOSE 32166
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]
# FROM nginx:stable-alpine
# COPY /dist /usr/share/nginx/html
# COPY /nginx.conf /etc/nginx/nginx.conf
# EXPOSE 32166
# CMD ["nginx", "-g", "daemon off;"]