containerization achieved; Dockerfile & .dockerignore added

This commit is contained in:
Disco DeDisco
2026-01-04 21:46:55 -05:00
parent ab96364a24
commit 902b7c4dfd
2 changed files with 13 additions and 0 deletions

1
.dockerignore Normal file
View File

@@ -0,0 +1 @@
src/db.sqlite3

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM python:3.13-slim
RUN python -m venv /.venv
ENV PATH="/.venv/bin:$PATH"
RUN pip install "django"
COPY src /src
WORKDIR /src
CMD ["python", "manage.py", "runserver", "0.0.0.0:8888"]