Skip to content
Permalink
Browse files
heroku-docker-fix (#318)
* Fixed heroku docker startup

moved to resources folder for clean environment

* added heroku.yml for Docker deployment to heroku

* Update heroku.yml

fixed correct executing path

* Update heroku-docker-start.sh

* Update heroku.yml

Co-authored-by: Pierre Rudloff <contact@rudloff.pro>

Co-authored-by: Pierre Rudloff <contact@rudloff.pro>
  • Loading branch information
rsoorajs and Rudloff committed Oct 13, 2020
1 parent 5ee9d45 commit bfdb349a2bb4fb26f3b3fd36c59954624083226b
Showing 2 changed files with 10 additions and 0 deletions.
@@ -0,0 +1,5 @@
build:
docker:
web: Dockerfile
run:
web: bash /var/www/html/resources/heroku-docker-start.sh
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

a2dismod mpm_event
sed -i "s/Listen 80/Listen ${PORT:-80}/g" /etc/apache2/ports.conf
apache2-foreground "$@"

0 comments on commit bfdb349

Please sign in to comment.