Build and run layer5.io using Docker

Build and run layer5.io using Docker

@Savio.Dias this is a great starting point - GitHub - gatsbyjs/gatsby-docker: Docker image that builds and hosts a Gatsby site · GitHub

@Savio.Dias
Found a fix? was @Lee’s resource any helpful ?

Not yet.
Will still try once again in 3-4 days after my exams gets completed.
@anon72498179 In the mean time can you check if layer5.io is working on github codespace?
I don’t know why it isn’t working now.

@Savio.Dias There seems to be some issues with the codespace. But here’s a great workaround from Randy: #4146 (comment)
As for me, I build site using Windows Subsysem for Linux and It would get stuck during the image processing job and eventually kill itself. However, configuring the memory limit of WSL to 75% is what worked for me.
There’s high chance that running out of memory is what crashes the build!

Randy’s alternative solution does work.
Regarding the wsl method, it doesn’t work for me.
I’m planning on upgrading my ram then will try using wsl

@Samyak.Shah might wanna take a look.