You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I was messing around with the CNB buildpack (to compare it with the v2a-one, featureset-wise) and it seems that building the default heroku/php-getting-started app fails with nginx.
Change the Procfile to this:
web: heroku-php-nginx web/
Then run the following in that repo:
pack build myapp:latest --path .
Finally, run the container:
docker run --rm -it myapp:latest
Here is the output:
Assuming 512MB of RAM
PHP memory_limit is 128M Bytes
Starting php-fpm with 4 workers...
Starting nginx...
nginx: [emerg] mkdir() "/app/.heroku/php/var/run/nginx/client_body_temp" failed (2: No such file or directory)
Process exited unexpectedly: nginx, shutting down...
Stopping php-fpm gracefully...
Shutdown complete.
The text was updated successfully, but these errors were encountered:
Hi! I was messing around with the CNB buildpack (to compare it with the v2a-one, featureset-wise) and it seems that building the default heroku/php-getting-started app fails with nginx.
Change the Procfile to this:
Then run the following in that repo:
Finally, run the container:
Here is the output:
The text was updated successfully, but these errors were encountered: