Skip to content

Commit 04c407e

Browse files
committed
django railpack working
1 parent 2230d75 commit 04c407e

File tree

3 files changed

+1
-59
lines changed

3 files changed

+1
-59
lines changed

samples/django/app/.dockerignore

Lines changed: 0 additions & 31 deletions
This file was deleted.

samples/django/app/Dockerfile

Lines changed: 0 additions & 27 deletions
This file was deleted.

samples/django/compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ services:
33
restart: unless-stopped
44
build:
55
context: ./app
6-
dockerfile: Dockerfile
76
ports:
87
- mode: ingress
98
target: 8000
109
# published: 8000 # uncomment for local dev
1110
environment:
1211
- DEBUG=False # set to "True" for local dev
12+
command: ["python manage.py migrate && python manage.py createsuperauto && gunicorn defang_sample.wsgi:application --bind 0.0.0.0:8000"]
1313
#deploy:
1414
# resources:
1515
# reservations:

0 commit comments

Comments
 (0)