Fixed dev environment database setup

This commit is contained in:
Philip Zimmermann
2025-12-13 18:26:56 +01:00
parent 705e19701f
commit e94962ccbb
3 changed files with 12 additions and 7 deletions
+4 -2
View File
@@ -19,8 +19,10 @@ RUN apt-get update && apt-get install -y \
COPY aperisolve/ /aperisolve/
RUN mkdir -p /data
RUN pip install --no-cache-dir -r /aperisolve/requirements.txt
RUN PYTHONPATH=/ python -c "from aperisolve.utils import create_crc_db; create_crc_db()"
RUN PYTHONPATH=/ python -c "from aperisolve.analyzers.utils import create_crc_db; create_crc_db()"
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:5000", "aperisolve.wsgi:application"]
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:5000", "aperisolve.wsgi:application"]