Spaces:
Sleeping
Sleeping
File size: 312 Bytes
8e681e8 3ece354 79cf8f5 8e681e8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
docker buildx build \
-f Dockerfile \
--tag dev-$(basename `git rev-parse --show-toplevel`) \
. \
&& docker run -it \
--rm \
--mount type=bind,source="$(pwd)/src",target=/home/user/src \
--env-file .env \
-p 7860:7860 \
dev-$(basename `git rev-parse --show-toplevel`) \
bash
|