Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mouuii committed Sep 13, 2023
1 parent f3983a0 commit a851dc5
Show file tree
Hide file tree
Showing 14 changed files with 833 additions and 279 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM node:latest as build-stage
WORKDIR /app
ENV NODE_ENV dev
COPY package*.json ./
RUN npm install
# ENV NODE_ENV production
# COPY package*.json ./
# RUN npm install
# RUN npm run build:pro
COPY . .
RUN npm run build


FROM nginx:stable-alpine
COPY --from=build-stage /app/dist /usr/share/nginx/html
Expand Down
Loading

0 comments on commit a851dc5

Please sign in to comment.