mirror of
https://github.com/rjNemo/villafleurie
synced 2026-06-06 02:16:47 +00:00
heroku.yml
This commit is contained in:
parent
93d7bb58ec
commit
de1c787cd1
2 changed files with 14 additions and 2 deletions
|
|
@ -7,5 +7,5 @@ WORKDIR /villafleurie
|
||||||
COPY . /villafleurie/
|
COPY . /villafleurie/
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
EXPOSE 8000
|
# EXPOSE 8000
|
||||||
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
|
# CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
|
||||||
12
heroku.yml
Normal file
12
heroku.yml
Normal 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
|
||||||
Loading…
Reference in a new issue