diff --git a/Dockerfile b/Dockerfile index 1486ce1..59a8708 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,7 @@ COPY . . EXPOSE 8080 RUN npm install -g http-server RUN npm run build -- --configuration=production --base-href='/containers/remiarnal-portfolioo/' -RUN cd dist/portfolioo/browser/ -CMD ["http-server", "-p", "8080"] +CMD ["http-server", "-p", "8080", "-o", "dist/portfolioo/browser/index.html"] # CMD ["ng", "serve", "--host", "0.0.0.0", "--port", "8080"] # ### STAGE 2: Run ###