mirror of
https://github.com/lemeow125/Notes.git
synced 2025-04-10 20:11:28 +08:00
Fix Dockerfile
This commit is contained in:
parent
606b81cec0
commit
73b3780326
1 changed files with 0 additions and 1 deletions
|
@ -9,6 +9,5 @@ FROM nginx:latest
|
||||||
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
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
Loading…
Add table
Reference in a new issue