Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions service/docker/Dockerfile-scidash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM metacell/scidash_virgo:r2.0.0
FROM metacell/scidash_geppetto:latest

USER root

Expand Down Expand Up @@ -42,11 +42,11 @@ RUN ls -la
RUN npm run build-dev-noTest

WORKDIR $APP_DIR/scidash
RUN rm -rf .git &&\
rm -rf static/org.geppetto.frontend/.git &&\
rm -rf static/org.geppetto.frontend/extension/geppetto-scidash/.git &&\
rm -rf sciunit/.git &&\
rm -rf neuronunit/.git
#RUN rm -rf .git &&\
# rm -rf static/org.geppetto.frontend/.git &&\
# rm -rf static/org.geppetto.frontend/extension/geppetto-scidash/.git &&\
# rm -rf sciunit/.git &&\
# rm -rf neuronunit/.git
RUN chown -R developer ./
RUN cp ./service/dotenv/scidash_env .env

Expand Down
8 changes: 4 additions & 4 deletions service/docker/build_database.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
echo "We are going to build the scidash Database, be carefull since"
echo " this can overwrite the existing container if another one is already running"
while true; do
read -p "Do you wish to install to continue?" yn
read -p "Do you wish to install to continue? [y/n] > " yn
case $yn in
[Yy]* ) read -p "Please type the tag you want to use for this build (default will use the latest and overwrite this)" tag;
[Yy]* ) read -p "Please type the tag you want to use for this build (default will use the latest and overwrite this). [latest/user_input] > " tag;
if [[ -z "$tag" ]]; then
docker build -f Dockerfile-postgres -t metacell/scidash_db:latest
docker build --no-cache -f Dockerfile-postgres -t metacell/scidash_db:latest .
else
docker build -f Dockerfile-postgres -t metacell/scidash_db:$tag
docker build --no-chace -f Dockerfile-postgres -t metacell/scidash_db:$tag .
fi
break;;
[Nn]* ) exit;;
Expand Down
8 changes: 4 additions & 4 deletions service/docker/build_scidash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
echo "We are going to build the scidash image, be carefull since this"
echo "can overwrite the existing image if another one is already running"
while true; do
read -p "Do you wish to install to continue?" yn
read -p "Do you wish to install to continue? [y/n] > " yn
case $yn in
[Yy]* ) read -p "Please type the tag you want to use for this build (default will use the latest and overwrite this)" tag;
[Yy]* ) read -p "Please type the tag you want to use for this build (default will use the latest and overwrite this). [latest/user_input] >" tag;
if [[ -z "$tag" ]]; then
docker build -f Dockerfile-scidash -t metacell/scidash:latest
docker build --no-cache -f Dockerfile-scidash -t metacell/scidash:latest .
else
docker build -f Dockerfile-scidash -t metacell/scidash:$tag
docker build --no-cache -f Dockerfile-scidash -t metacell/scidash:$tag .
fi
break;;
[Nn]* ) exit;;
Expand Down
8 changes: 4 additions & 4 deletions service/docker/build_virgo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
echo "We are going to build the Geppetto\'s Virgo, be carefull since this"
echo "can overwrite the existing image if another one is already built"
while true; do
read -p "Do you wish to install to continue?" yn
read -p "Do you wish to install to continue? [y/n] > " yn
case $yn in
[Yy]* ) read -p "Please type the tag you want to use for this build (default will use the latest and overwrite this)" tag;
[Yy]* ) read -p "Please type the tag you want to use for this build (default will use the latest and overwrite this). [default/user_input] > " tag;
if [[ -z "$tag" ]]; then
docker build -f Dockerfile-virgo -t metacell/scidash_geppetto:latest
docker build --no-cache -f Dockerfile-virgo -t metacell/scidash_geppetto:latest .
else
docker build -f Dockerfile-virgo -t metacell/scidash_geppetto:$tag
docker build --no-cache -f Dockerfile-virgo -t metacell/scidash_geppetto:$tag .
fi
break;;
[Nn]* ) exit;;
Expand Down