mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-04-24 19:46:09 +02:00
362a6e2ceb
Former-commit-id: 8ed321f2ba
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"]
|