Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM node:alpine
- WORKDIR /app
- COPY package.json /app
- RUN npm i
- COPY . /app
- RUN npm run build
- FROM nginx:alpine
- RUN rm /etc/nginx/conf.d/default.conf
- COPY nginx.conf /etc/nginx/nginx.conf
- COPY --from=0 /app/dist/ /app/dist/
Add Comment
Please, Sign In to add comment