changed method of copy

This commit is contained in:
AHMZA
2021-12-08 23:51:11 +00:00
parent a41d3a7971
commit 59394900cd
+1 -1
View File
@@ -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;"]