Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
arlet committed Feb 22, 2024
1 parent f8b2402 commit 847fe21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ COPY . .
RUN npm install
RUN npm run build

COPY out out/
COPY out .

FROM nginx:alpine as run

WORKDIR .

RUN rm -rf /usr/share/nginx/html/*
COPY --from=build out /usr/share/nginx/html

Expand Down

0 comments on commit 847fe21

Please sign in to comment.