changed method of copy
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
WORKDIR /usr/share/nginx/html
|
WORKDIR /usr/share/nginx/html
|
||||||
RUN rm -rf * .??*
|
RUN rm -rf * .??*
|
||||||
COPY --from=build /public /usr/share/nginx/html
|
COPY /public /usr/share/nginx/html
|
||||||
#COPY nginx.conf /etc/nginx/nginx.conf
|
#COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENTRYPOINT ["nginx","-g","daemon off;"]
|
ENTRYPOINT ["nginx","-g","daemon off;"]
|
||||||
|
|||||||
Reference in New Issue
Block a user