Skip to content

Instantly share code, notes, and snippets.

@lgzarturo
Created March 2, 2022 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgzarturo/0c134ad664f66a373e47954bc29c08d9 to your computer and use it in GitHub Desktop.
Save lgzarturo/0c134ad664f66a373e47954bc29c08d9 to your computer and use it in GitHub Desktop.
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