Skip to content

Instantly share code, notes, and snippets.

@rnovec
Created January 26, 2020 02:53
Show Gist options
  • Save rnovec/e0c6c1fdf7d00fb9a92cd6381247fc68 to your computer and use it in GitHub Desktop.
Save rnovec/e0c6c1fdf7d00fb9a92cd6381247fc68 to your computer and use it in GitHub Desktop.
Dockerizing Django
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