Hi!
I’m trying to deploy my dockerized django app to render but it keeps failing.
The following is my render.yaml
#render.yaml
services:
- type: web
name: listikles
env: docker
region: oregon
plan: free
branch: master
dockerCommand: python manage.py collectstatic --no-input && python manage.py tailwind build && python manage.py runserver 0.0.0.0:8000
numInstances: 1
healthCheckPath: /
envVars:
- key: DEBUG
value: True
And that is the correct heroku.yml that I am trying to translate to render:
# heroku.yml
setup:
addons:
- plan: heroku-postgresql
build:
docker:
web: Dockerfile
release:
image: web
command:
- python manage.py collectstatic --noinput
run:
web: gunicorn config.wsgi
I don’t know what’s going on, I tried to put a script “build.sh” in the dockerCommand, but the deploy always fail without error message after pushing to registry.