Jack Moore

Email: jack(at)jmoore53.com
Project Updates

Producing a 5.2 and above Rails public Docker Image

26 Aug 2019 » rails, docker

**Refer back to the previous post Rails Production Image

Refactoring the dockerfile took me a minute and forced me to think, but after some quick workarounds and an evening of work I was able to create a dockerfile I could publicly expose to the world.

Essentiall Rails needs keys to precompile assets, which is something I don’t fully understand at this point in time. I need to dive more into their codebase to understand what integrity they need for compiling assets.. I can understand at runtime for cookies and ensuring CORS and other browser policies are followed, but don’t understand the build time need for secret keys.

© Jack Moore