rropen / absense-planner

Planner tool for team absences
13 stars 11 forks source link

AP: Dockerfile to manage static files & migrations for quick startup #196

Open olirowan opened 1 year ago

olirowan commented 1 year ago

I built the container with the following commands locally after freshly cloning the project:

docker build -t rropen/absense-planner:v1.0 .

docker run --name absense-planner -it -p 8000:8000 rropen/absense-planner:v1.0

This built and started the container successfully so that I could access the application in my browser at localhost:8000, however the CSS was not in place and the migrations hadn't occurred during the build so I was unable to successfully sign up.

Can the Dockerfile be updated to accommodate this?