]> git.somenet.org - pub/jan/aic18.git/blob - service-website/Dockerfile
Convert terms to camunda format
[pub/jan/aic18.git] / service-website / Dockerfile
1 FROM node:10-alpine as react-build
2 LABEL maintainer="Michael Winsauer <e1429715@student.tuwien.ac.at>"
3
4 WORKDIR /app
5 COPY . ./
6
7 RUN ["yarn", "install"]
8 RUN ["yarn", "build"]
9
10
11 FROM nginx:alpine
12 LABEL maintainer="Michael Winsauer <e1429715@student.tuwien.ac.at>"
13
14 EXPOSE 80
15
16 COPY --from=react-build /app/build /usr/share/nginx/html
17
18 CMD ["nginx", "-g", "daemon off;"]