main
Aurian JAULT 12 months ago
parent de9b662ebf
commit 4d09b240bf

@ -0,0 +1,10 @@
FROM node:latest as build
WORKDIR /app
COPY ./ /app
RUN npm install
RUN npm run build
# Stage 2: Serve app with nginx server
FROM nginx:latest
COPY --from=build /app/dist/sample-angular-app /usr/share/nginx/html
EXPOSE 80
Loading…
Cancel
Save