Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# copy this file to your django project folder
# use `docker-compose up` to bring up your app
# visit `https://docs.docker.com/compose` for more details on compose

version: "2"
services:
django-app:
image: django
volumes:
- .:/usr/src/app
working_dir: /usr/src/app
command: bash -c "pip install -r requirements.txt && python manage.py runserver 0.0.0.0:8000"
ports:
- 8000:8000