Skip to content

Commit

Permalink
chore: 도커 파일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeHongDev committed Jul 5, 2024
1 parent d7c10df commit 1d7cbfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM node:20-alpine as build
WORKDIR /app
COPY dist /app/dist
COPY nginx.conf /app

FROM nginx:stable-alpine
COPY --from=build /app/dist /usr/share/nginx/html
RUN rm /etc/nginx/conf.d/default.conf
COPY ./nginx.conf /etc/nginx/conf.d
COPY --from=build /app/nginx.conf /etc/nginx/conf.d

EXPOSE 80

Expand Down

0 comments on commit 1d7cbfb

Please sign in to comment.