Trellis icon indicating copy to clipboard operation
Trellis copied to clipboard

Containerize Project

Open bishtsaurabh5 opened this issue 4 years ago • 4 comments

Idea: I am thinking of containerizing the project

Why? Suppose as a user if I am only interested in running the application and not making changes then I can run this as is without installing anything apart from docker

bishtsaurabh5 avatar Oct 09 '20 20:10 bishtsaurabh5

I want to work on this issue

bishtsaurabh5 avatar Oct 09 '20 20:10 bishtsaurabh5

How do you plan to do that?

  • I think the usual way is to create separate Dockerfile for each backend and frontend and run through docker-compose, but here our project structure is slightly different.
  • First, we have to restructure the whole project into two directory, frontend and backend, only then we can go ahead with containerization. Please check @Any28Flo forked version of project here, she is currently working on restructuring, after that you can go ahead with this. Feel free to assist her in it. Let me know you thoughts on this.

ayushagg31 avatar Oct 10 '20 03:10 ayushagg31

Sure I agree with you and moreover I think we can connect it to Github actions later on to continuosly push the image to the dockerhub on every commit what do you think ?

bishtsaurabh5 avatar Oct 12 '20 18:10 bishtsaurabh5

Yeah, sounds good to me. Give this a shot, let see how it goes.

ayushagg31 avatar Oct 12 '20 18:10 ayushagg31