Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Stage 1
- FROM node:latest as node
- WORKDIR /app
- COPY . .
- RUN npm install
- RUN npm run build --prod
- # Stage 2
- FROM nginx:alpine
- COPY --from=node /app/dist/News-App /usr/share/nginx/html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement