Created
March 2, 2022 01:11
-
-
Save lgzarturo/0c134ad664f66a373e47954bc29c08d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python3 -m venv ./venv | |
source venv/bin/activate | |
pip3 install -r requirements.txt | |
docker run -itd --rm --name django_api \ | |
--workdir /home --user $(id -u):$(id -g) \ | |
--mount type=bind,source="$(pwd)/api",target=/home/api \ | |
python:3.9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment