Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Minn-Choi authored Nov 4, 2024
1 parent d2c3010 commit b181b6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ RUN npm install
COPY . .
RUN npm run build

# nginx μ„€μ •
FROM nginx:alpine
COPY β€”from=build-stage /app/dist /usr/share/nginx/html
COPY --from=build-stage /app/dist /usr/share/nginx/html # μ—¬κΈ°μ„œ ν•˜μ΄ν”ˆμ„ μ‚¬μš©
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit b181b6e

Please sign in to comment.