ci(Dev): Using docker to serve django and vue on same host.

This commit is contained in:
2024-09-28 14:04:13 -05:00
parent a7147d1850
commit 2c8911fb78
5 changed files with 56 additions and 1 deletions

8
django.Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
from python:3.12-slim
WORKDIR /app/
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "manage.py", "runserver", "0.0.0.0:9090"]