Skip to content
Snippets Groups Projects
Commit 7c3c1a28 authored by Ludovic Claude's avatar Ludovic Claude
Browse files

Use the Maven repository on the host to avoid downloading Internet again

parent 2ed550e3
No related branches found
No related tags found
No related merge requests found
.idea*
*.iml
target*
.DS_Store
\ No newline at end of file
.DS_Store
.m2
......@@ -5,6 +5,8 @@ else
DOCKER_COMPOSE="sudo docker-compose"
fi
[ -e .m2 ] || ln -s .m2 ~/.m2
$DOCKER_COMPOSE --file=docker-compose.init.yml --project-name=portal-backend-init up
echo "Need to set the current user as owner of the files generated in target directory..."
......
......@@ -14,6 +14,7 @@ portal-backend:
build: .
volumes:
- ./:/portal/
- ./.m2/:/root/.m2/
links:
- portaldb
ports:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment