Closed AlMaVizca closed 7 years ago
@cusspvz any idea what's happening?
@KyleAMathews Fixed. Thanks for noticing it @krahser.
@krahser You can also use the onbuild
tag which already has the command for adding the public/
folder.
Thanks!
On Wed, Feb 15, 2017, 4:08 AM José Moreira notifications@github.com wrote:
@krahser https://github.com/krahser You can also use the onbuild tag which already has the command for adding the public/ folder.
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/gatsbyjs/gatsby-docker/issues/4#issuecomment-279994480, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEVh6WH8GlIkgQ-5V0yIBH_js_gqnoxks5rcuq0gaJpZM4MBZ6W .
Hi!
Nice project.
I recently run the image and this is the error.
docker run --rm gatsbyjs/gatsby /sbin/nginx-boot: line 83: syntax error near unexpected token
then' /sbin/nginx-boot: line 83:if [ "" != "$DEBUG" ]; then'
Opening the file with:
docker run --rm -it gatsbyjs/gatsby vi /sbin/nginx-boot
I saw that there are .. in between the if and [. Using cat I can't see that.
After modify that the error is:
bash-4.3# nginx-boot nginx: [emerg] open() "/run/nginx/nginx.pid" failed (2: No such file or directory)
If I create the /run/nginx directory, nginx works, but not yet gatsby.