containerization achieved; Dockerfile & .dockerignore added
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user