master
remrem 1 year ago
parent 3ddf8009bc
commit 526ddf6dd7

@ -7,8 +7,8 @@ RUN npm install
COPY . . COPY . .
EXPOSE 8080 EXPOSE 8080
RUN npm install -g http-server RUN npm install -g http-server
RUN npm run build -- --configuration=production --base-href='/containers/remiarnal-portfolioo' RUN npm run build -- --configuration=production --base-href='/containers/remiarnal-portfolioo/'
RUN cd dist/your-project-name RUN cd dist/portfolioo/browser/
CMD ["http-server", "-p", "8080"] CMD ["http-server", "-p", "8080"]
# CMD ["ng", "serve", "--host", "0.0.0.0", "--port", "8080"] # CMD ["ng", "serve", "--host", "0.0.0.0", "--port", "8080"]

Loading…
Cancel
Save