Skip to content

Commit

Permalink
[Chore] - Dockerfile ์ƒ์„ฑ
Browse files Browse the repository at this point in the history
  • Loading branch information
Minn-Choi authored Nov 4, 2024
1 parent be81c55 commit 320d2a2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:14 as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build

FROM nginx:alpine
COPY โ€”from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 320d2a2

Please sign in to comment.