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;"]