File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
osm-seed/templates/osmcha-app Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ ARG GITSHA=3cd987bd2ed02bbb60b121ecad0bb556a115aca1
10
10
RUN git clone https://github.com/osmus/osmcha-frontend.git /app
11
11
RUN git checkout $GITSHA
12
12
RUN yarn install
13
- COPY start.sh .
14
- CMD [ "/app/start.sh" ]
13
+ RUN yarn build:prod
14
+ # COPY start.sh .
15
+ # CMD [ "/app/start.sh" ]
15
16
16
17
Original file line number Diff line number Diff line change 2
2
set -x
3
3
export BUILD_ENV=prod
4
4
export REACT_APP_PRODUCTION_API_URL=/api/v1
5
- sed -i " s|https://osmcha.org|$OSMCHA_URL |g" package.json
6
- yarn build:${BUILD_ENV}
7
- find /app/build -type f -exec sed -i " s/www.openstreetmap.org/$OSMCHA_API_URL /g" {} +
8
- cp -r /app/build/* /assets/
5
+ yarn build
Original file line number Diff line number Diff line change 71
71
- containerPort : 5000
72
72
livenessProbe :
73
73
httpGet :
74
- path : /
74
+ path : /api/v1/health
75
75
port : 5000
76
76
initialDelaySeconds : 60
77
77
timeoutSeconds : 30
You can’t perform that action at this time.
0 commit comments