Collect static files in entrypoint.sh
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
9dead362c1
commit
d029fda896
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue