File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ FROM nginx:stable
33ARG API_VERSION
44ARG SUBJECT
55
6- COPY ./build-$SUBJECT/ /usr/share/nginx/html
6+ # COPY ./build-$SUBJECT/ /usr/share/nginx/html
7+ # FIXME - delete the next line:
8+ COPY ./build/ /usr/share/nginx/html
79COPY nginx.conf /etc/nginx/nginx.conf
810EXPOSE 80
911
Original file line number Diff line number Diff line change 3737fi
3838
3939npm install
40- npm run build-cs
41- npm run build-phy
42- docker build -t " docker.isaacscience.org/isaac-cs-app:${VERSION_TO_DEPLOY} " --pull --build-arg API_VERSION=$SEGUE_VERSION --build-arg SUBJECT=cs .
43- docker build -t " docker.isaacscience.org/isaac-phy-app:${VERSION_TO_DEPLOY} " --pull --build-arg API_VERSION=$SEGUE_VERSION --build-arg SUBJECT=physics .
40+ # npm run build-cs
41+ # npm run build-phy
42+ npm run build # FIXME - remove this line!
43+ # docker build -t "docker.isaacscience.org/isaac-cs-app:${VERSION_TO_DEPLOY}" --pull --build-arg API_VERSION=$SEGUE_VERSION --build-arg SUBJECT=cs .
44+ # docker build -t "docker.isaacscience.org/isaac-phy-app:${VERSION_TO_DEPLOY}" --pull --build-arg API_VERSION=$SEGUE_VERSION --build-arg SUBJECT=physics .
45+ docker build -t " docker.isaacscience.org/isaac-cs-app:${VERSION_TO_DEPLOY} " --pull --build-arg API_VERSION=$SEGUE_VERSION . # FIXME - remove this line!
4446docker push " docker.isaacscience.org/isaac-cs-app:${VERSION_TO_DEPLOY} "
45- docker push " docker.isaacscience.org/isaac-phy-app:${VERSION_TO_DEPLOY} "
47+ # docker push "docker.isaacscience.org/isaac-phy-app:${VERSION_TO_DEPLOY}"
4648
4749cd ..
4850rm -rf isaac-cs-app
You can’t perform that action at this time.
0 commit comments