silverbackhq / silverback

🧬 A Status and Incident Communication Tool (Beta Version).
Apache License 2.0
45 stars 5 forks source link

Build & Automate docker image build #155

Closed Clivern closed 4 years ago

sourabhdeshmukh commented 4 years ago

Will you please describe the details about this issue. It looks interesting for contribution.

Clivern commented 4 years ago

It would be nice if you update the dockerfile to a multistage build. On first stage

On the second stage:

I can take care of the automate part using travis

sourabhdeshmukh commented 4 years ago

Ok Thanks I will try my hand on this. Thank You :) for details.

sourabhdeshmukh commented 4 years ago

I have updated the Dockerfile according changes as you have mentioned in the description. I will send a PR tomorrow. It will count in my Hactoberfest 2019. :)

Clivern commented 4 years ago

Nice, Thanks @sourabhdeshmukh. I also automated the image build, you can see that on master branch https://hub.docker.com/r/clivern/silverback

sourabhdeshmukh commented 4 years ago

There is something wrong with https://hub.docker.com/r/clivern/silverback image. When I executed following steps Steps executed: docker pull clivern/silverback docker run -d -p 8000:8000 clivern/silverback:latest

Container spawn up successfully but when redirected to browser

Error Message: On browser http://0.0.0.0:8000 error OperationalError at / no such table: django_session

error.log

Clivern commented 4 years ago

Yeah because it still not ready yet, after i merge your PR, will provide default configs to make stuff work

sourabhdeshmukh commented 4 years ago

Sent PR for review #163. Please check and confirm the request. If any changes required please ask me I will modify it accordingly.

Clivern commented 4 years ago

Thanks @sourabhdeshmukh

sourabhdeshmukh commented 4 years ago

Thanks @Clivern for allowing me to contribute. :) I will check with other issues if I can help.