From a41d3a797139aa53b0495d47615b5d0d82da24d3 Mon Sep 17 00:00:00 2001 From: AHMZA Date: Wed, 8 Dec 2021 23:46:29 +0000 Subject: [PATCH] changed method of copy --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 780ef91..18a9e93 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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;"]