Skip to content

Commit f446798

Browse files
YAML instead of Procfile as it is not working with container registry
1 parent 037b8b4 commit f446798

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

Procfile

-1
This file was deleted.

heroku.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
build:
2+
docker:
3+
web: Dockerfile
4+
release:
5+
image: web
6+
command:
7+
- ./release-task.sh

release-task.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
python manage.py makemigrations
3+
python manage.py migrate
4+
python manage.py seed_db --create-super-user

0 commit comments

Comments
 (0)