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