Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM node:10.16.3-alpine as builder
- WORKDIR /app
- COPY package.json package-lock.json ./
- RUN npm install
- COPY . .
- RUN npm run build
- FROM nginxinc/nginx-unprivileged
- COPY --from=builder /app/build /usr/share/nginx/html/
- COPY nginx.conf /etc/nginx/conf.d/default.conf
- EXPOSE 8080
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement