dockerise daintree
- Added a Dockerfile to help build and run daintree locally
- fixed incorrect URL in README
Merge request reports
Activity
Hi Riccardo. I wanted to know if you will dockerise builds to release to production or you just want to be able to use docker for quick local testing/development while keeping the workstation sanitised.
Edited by Kaustubh PHi Riccardo. I wanted to know if you will dockerise builds to release to production or you just want to be able to use docker for quick local testing/development while keeping the workstation sanitised.
Hi Kaustubh, I will use it only for development: I'm quite happy about current deployment strategy, since it is a static website I can use just Gitlab pages without having to take care about a server.
I guess the the current patch should do it. I was trying to compose a cleaner way to build for dev and prod, but just the following will do.
There's instructions to build locally, I've updated the contributing markdown with instructions.
docker build -t daintree:latest . docker run -it -p 8080:80 --rm --name daintree-1 daintree:latest
I am sorry this took so long. Trying to find time from work and home is difficult. Thank you for letting me contribute, I enjoyed it.
Thanks for your contribution @thetuxracer! Please remove the
WIP
in the title so I can merge :-)I am sorry this took so long. Trying to find time from work and home is difficult. Thank you for letting me contribute, I enjoyed it.
Aha, don't worry, I totally understand it! I haven't worked on Daintree later either 'cause I have some things to do in real life - I think I'll be able to go on with the development in October :-)
mentioned in commit ec500f05