Skip to content

Commit

Permalink
run-docker: Pull assets into container
Browse files Browse the repository at this point in the history
This is needed to get the styling and js that is required but .gitignored into the container.
  • Loading branch information
tordans committed Jul 17, 2021
1 parent 314db12 commit db30277
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ else
echo " update - Update Database from osm"
echo " webapp - Start Webapp"
fi
fi
fi

if [ "${CMD}" == "reimport" ] || [ -n "${DO_IMPORT}" ]
then
Expand All @@ -66,4 +66,7 @@ then
elif [ "${CMD}" == "rental" ]
then
docker exec -it $CONTAINER_NAME /bikeparking/database/import_rental.sh
fi
elif [ "${CMD}" == "download_js" ]
then
docker exec -it $CONTAINER_NAME /bikeparking/webapp/download_js.sh
fi

0 comments on commit db30277

Please sign in to comment.