diff --git a/Dockerfile b/Dockerfile index 6f7de02..9948b9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN npm install && \ FROM python:3.10-slim-bullseye -ENV VERSION_NUMBER 0.1.0-50-gd81dba7 +ENV VERSION_NUMBER 0.1.0-51-g9dead36 ENV PROD 1 RUN useradd --create-home --uid 1000 timetracker diff --git a/entrypoint.sh b/entrypoint.sh index ef9bbf0..14a6e39 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,6 +3,9 @@ echo "Apply database migrations" poetry run python src/web/manage.py migrate +echo "Collect static files" +poetry run python src/web/manage.py collectstatic + # Start server echo "Starting server" poetry run python src/web/manage.py runserver 0.0.0.0:8000 \ No newline at end of file