Comp-490-SeniorProject / site

MIT License
0 stars 1 forks source link

Write a Dockerfile for the site #4

Closed MarkKoz closed 2 years ago

MarkKoz commented 3 years ago

The site will be deployed as a containerised app using Docker, so a Dockerfile needs to be written for it. It should install the dependencies from the poetry lock file and use gunicorn as the entry point to start the site. I think it may also need to run collectstatic.

Once that's written, a service for it should be created in docker-compose.yml. It should depend on the DB service (see #3) with the condition that it's healthy. Instructions on CONTRIBUTING.md should be updated to include how to use Docker Compose to start the site.