We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2230d75 commit 04c407eCopy full SHA for 04c407e
samples/django/app/.dockerignore
samples/django/app/Dockerfile
samples/django/compose.yaml
@@ -3,13 +3,13 @@ services:
3
restart: unless-stopped
4
build:
5
context: ./app
6
- dockerfile: Dockerfile
7
ports:
8
- mode: ingress
9
target: 8000
10
# published: 8000 # uncomment for local dev
11
environment:
12
- DEBUG=False # set to "True" for local dev
+ command: ["python manage.py migrate && python manage.py createsuperauto && gunicorn defang_sample.wsgi:application --bind 0.0.0.0:8000"]
13
#deploy:
14
# resources:
15
# reservations:
0 commit comments