diff --git a/Dockerfile b/Dockerfile index 0e9eb2a..1ad2a1a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,11 @@ RUN npm install && \ FROM nginx:alpine +# Remova o arquivo index.html padrĂ£o do Nginx +RUN rm -rf /usr/share/nginx/html/* + COPY --from=build --chown=nginx:nginx /app/dist/web /usr/share/nginx/html EXPOSE 80 -CMD ["nginx", "-g", "daemon off;"] +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file