This commit is contained in:
j3d1 2026-08-01 23:10:08 +02:00
parent 4f2fe011c0
commit 6fcdd1eefa
4 changed files with 22 additions and 9 deletions

View file

@ -11,6 +11,7 @@ WORKDIR /code
# Install dependencies
COPY requirements.txt /code/
RUN pip install --no-cache-dir -r requirements.txt
RUN touch /mnt/db.sqlite3 && touch /mnt/testdata.py && mkdir /mnt/userfiles
# Run the application
CMD ["sh", "-c", "python manage.py migrate && python manage.py runserver 0.0.0.0:8000 --insecure"]