mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-04-27 13:05:59 +02:00
6281085045
Former-commit-id: 3b8912a8f67efd51c08cc6f4c77d43266b8fdc1b
17 lines
282 B
Docker
17 lines
282 B
Docker
FROM python:3.10-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy source code
|
|
COPY . .
|
|
|
|
# Expose port
|
|
EXPOSE 8000
|
|
|
|
# Start FastAPI server
|
|
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|