scripts added and Dockerfile adjusted to remove them from production

This commit is contained in:
2026-01-07 14:31:54 +01:00
parent 29c1ad1dcf
commit d3d0298ad1
5 changed files with 118 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ RUN rm -rvf /app/Dockerfile* \
/app/requirements.txt \
/app/node_modules \
/app/*.json \
/app/scripts
/app/test_*.py && \
python3 /app/manage.py collectstatic --noinput
CMD ["gunicorn","--bind","0.0.0.0:8000","--workers","3","VorgabenUI.wsgi:application"]