Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM node:8.9.3-alpine as build-deps2
- RUN mkdir /irooltest WORKDIR /irooltest COPY . /irooltest
- RUN npm install RUN npm run build
- FROM nginx:1.12-alpine
- COPY --from=build-deps2 /irooltest/build /usr/share/nginx/html
- EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]
- services:
- iroolclient:
- image: chaimaennar/irooltest
- ports:
- - 8080:80
- networks:
- default:
- networks:
- default:
- external:
- name: mynetwork
- -Top
- -localhost:8080
- -static
- -index.css
- -Webpack://
Add Comment
Please, Sign In to add comment