Skip to content

Commit

Permalink
add a dbfiles bind volume
Browse files Browse the repository at this point in the history
  • Loading branch information
ccomb committed Sep 19, 2024
1 parent 23eaea0 commit bb770be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env | grep ECOBALYSE_DATA_DIR || exit
docker exec -u jovyan -it -e ECOBALYSE_DATA_DIR=/home/jovyan/ecobalyse-private/ -w /home/jovyan/ecobalyse/data $(NAME) $(1);\
else \
echo "(Creating a new container)" &&\
docker run --rm -it -v $(NAME):/home/jovyan -v $$PWD/../:/home/jovyan/ecobalyse -v $(ECOBALYSE_DATA_DIR):/home/jovyan/ecobalyse-private -e ECOBALYSE_DATA_DIR=/home/jovyan/ecobalyse-private/ -w /home/jovyan/ecobalyse/data $(NAME) $(1); fi
docker run --rm -it -v $(NAME):/home/jovyan -v $$PWD/../:/home/jovyan/ecobalyse -v $$PWD/../../dbfiles/:/home/jovyan/dbfiles -v $(ECOBALYSE_DATA_DIR):/home/jovyan/ecobalyse-private -e ECOBALYSE_DATA_DIR=/home/jovyan/ecobalyse-private/ -w /home/jovyan/ecobalyse/data $(NAME) $(1); fi
endef

all: import export
Expand Down

0 comments on commit bb770be

Please sign in to comment.