dockerfile fixed
continuous-integration/drone/push Build is passing Details

main
Aurian JAULT 5 months ago
parent cdd0b5f1a0
commit fdc4ebfcab

@ -1,10 +1,11 @@
FROM node:latest as build
WORKDIR /usr/local/app
COPY ./ /usr/local/app/
FROM node:alpine
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN npm install -g @angular/cli
RUN npm install
RUN npm run build
FROM nginx:latest
COPY --from=build /usr/local/app/dist/portofolio /usr/share/nginx/html
EXPOSE 80
CMD ["ng", "serve", "--host", "0.0.0.0"]

Loading…
Cancel
Save