fixed log4j issue
[eliot.git] / blueprints / common / eliot-ui / frontend-src / Dockerfile
1 # Steps to containerise the ELIOT Portal UI on development mode
2 FROM node:current-slim as node
3 WORKDIR /usr/src/app
4 COPY package.json .
5
6 RUN npm cache clean --force
7 RUN npm install
8 RUN npm audit fix
9
10 COPY . .
11
12 RUN npm run build --prod
13
14 EXPOSE 4200
15 CMD [ "npm", "start" ]
16 #COPY . .
17 #RUN npm run build --prod