Closed aslafy-z closed 5 years ago
Hi @aslafy-z, we are waiting for our blog technical maintainer, @dpordomingo, to return from the paternity leave. Once he gets back to work he will certainly review this! Stay tuned and thanks for your contribution.
Many thanks, @aslafy-z for helping us to improve the development process on blog. We're currently working in a migration to ghost, so we aren't adding new features to current one. I'll keep this issue opened just in case we keep using the current blog, so we'll consider your nice suggestion.
Migrated to Ghost. Thanks anyways @aslafy-z
Summary
Needs #255 #252 Related #173
Update the dockerfile to use it as a dev env
Final runtime image size is
88 MB
compressed It's available to test on the docker hub: zadki3l/src-d-blogTry it now with:
Other Information
This dockerfile leverage multiple stages builds:
dev
: Install dependenciesbuild
: copy project files and build hugo static websiteruntime
: The final production image with caddyI recommend to append
-u "$(id -u):$(id -g)"
to thedocker run
command to keep permissions clean.Usage