Created
January 26, 2020 02:53
-
-
Save rnovec/e0c6c1fdf7d00fb9a92cd6381247fc68 to your computer and use it in GitHub Desktop.
Dockerizing Django
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
version: '3' | |
services: | |
### | |
# services | |
### | |
django: | |
build: . | |
network_mode: host | |
command: python manage.py runserver 0.0.0.0:3001 | |
volumes: | |
- .:/app | |
ports: | |
- "3001:3001" | |
tty: true | |
stdin_open: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment