Pablo Solar VilariƱo
2020-06-19 49a69db8fa634d24fc03f35cb8589e87c260fa1f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM ubi8/nodejs-12
 
# URL of the exchange app
# All env vars exposed to the React app must start with REACT_APP
ENV REACT_APP_GW_ENDPOINT=PLACEHOLDER
 
# Cache dependencies
COPY package.json .
COPY package-lock.json .
RUN npm ci --production
 
# Cache public files
COPY public ./public
 
COPY src ./src
 
EXPOSE 3000
 
CMD npm start