mirror of
https://github.com/lemeow125/Notes.git
synced 2025-01-19 02:43:01 +08:00
Update Dockerfile
This commit is contained in:
parent
34d3ca5829
commit
2badacf607
1 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,6 @@ FROM nginx:alpine-slim
|
||||||
RUN rm -rf /usr/share/nginx/html/*
|
RUN rm -rf /usr/share/nginx/html/*
|
||||||
COPY --from=build /usr/local/app/build/ /usr/share/nginx/html
|
COPY --from=build /usr/local/app/build/ /usr/share/nginx/html
|
||||||
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
RUN service nginx restart
|
RUN rc-service nginx restart
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
Loading…
Reference in a new issue