Skip to content

Commit 24ef606

Browse files
author
Alan
committed
change docker
1 parent 3c49b61 commit 24ef606

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/nginx/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ RUN npm run build
1414

1515
FROM nginx:latest
1616
COPY --from=build_frontend /app/build /usr/share/nginx/html
17-
COPY ./docker/nginx/nginx.conf /etc/nginx/conf.d/default.conf
17+
RUN rm /etc/nginx/conf.d/default.conf
18+
COPY ./docker/nginx/nginx.conf /etc/nginx/conf.d
19+
EXPOSE 80
1820

1921
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)