1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2025-06-26 10:30:46 +00:00

CHANGE to static compile

This commit is contained in:
Florian Heinemann
2014-11-06 17:29:41 -05:00
parent 51b16c2175
commit 5c959aaad6
5 changed files with 122 additions and 87 deletions

View File

@ -1,8 +1,12 @@
#!/usr/bin/env bash
set -e
# bin/release <build-dir>
cat << EOF
cat <<EOF
---
addons:
config_vars:
PATH: /usr/local/bin:/usr/bin:/bin:/app/nginx
default_process_types:
web: sed -i "s/<PORT>/\$PORT/g" /app/nginx.conf && /app/nginx/nginx -c /app/nginx.conf
EOF
web: /app/start_nginx
EOF