npm run build
continuous-integration/drone/push Build is failing Details

master
remrem 11 months ago
parent acaa1fd330
commit 3ddf8009bc

@ -6,7 +6,11 @@ RUN npm install -g @angular/cli
RUN npm install
COPY . .
EXPOSE 8080
CMD ["ng", "serve", "--host", "0.0.0.0", "--port", "8080"]
RUN npm install -g http-server
RUN npm run build -- --configuration=production --base-href='/containers/remiarnal-portfolioo'
RUN cd dist/your-project-name
CMD ["http-server", "-p", "8080"]
# CMD ["ng", "serve", "--host", "0.0.0.0", "--port", "8080"]
# ### STAGE 2: Run ###
# FROM nginx:alpine

Loading…
Cancel
Save