heroku.yml

This commit is contained in:
Ruidy Nemausat 2019-12-04 16:11:30 +01:00
parent 93d7bb58ec
commit de1c787cd1
2 changed files with 14 additions and 2 deletions

View file

@ -7,5 +7,5 @@ WORKDIR /villafleurie
COPY . /villafleurie/
RUN pip install -r requirements.txt
EXPOSE 8000
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
# EXPOSE 8000
# CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]

12
heroku.yml Normal file
View file

@ -0,0 +1,12 @@
build:
docker:
web: Dockerfile
config:
# BUNDLE_INSTALL_ARGS: --jobs 10 --retry=3 --without development test
# RAILS_ENV: production
run:
web: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
# worker:
# command:
# - bundle exec rake jobs:work
# image: web