[+] Dockerize
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
FROM python:3.13-slim
|
||||
|
||||
# Install dependencies: Fastapi and uvicorn
|
||||
RUN pip install fastapi uvicorn
|
||||
|
||||
# Copy ./server to /app
|
||||
COPY ./server /app
|
||||
WORKDIR /app
|
||||
|
||||
# Run the server
|
||||
CMD ["python", "host.py"]
|
||||
Reference in New Issue
Block a user