diff --git a/backend/Dockerfile b/backend/Dockerfile new file mode 100644 index 0000000..ea935a0 --- /dev/null +++ b/backend/Dockerfile @@ -0,0 +1,11 @@ +FROM python:bookworm + +EXPOSE 8000 + +WORKDIR /app + +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + +COPY forum.py . +CMD ["uvicorn", "forum:app", "--log-level", "debug", "--host", "0.0.0.0"] \ No newline at end of file