We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d53945 commit ee4ec41Copy full SHA for ee4ec41
Makefile
@@ -1,7 +1,10 @@
1
containers:
2
+ # Use local UID to avoid files permission issues when mounting directories
3
+ # We could do this at runtime, by specifying the user, but it's easier doing it
4
+ # at build time, so no special commands will be necessary at runtime
5
+ docker compose build --build-arg UID=`id -u` dev
6
# To build shared container layers only once we build a single container before the other ones
- docker compose build dev
- docker compose build
7
+ docker compose build --build-arg UID=`id -u`
8
9
dev:
10
poetry run uvicorn http_app:create_app --host 0.0.0.0 --port 8000 --factory --reload
0 commit comments