Files
statdx/Dockerfile
T
2026-07-15 21:36:23 +01:00

19 lines
401 B
Docker

FROM python:3.10-slim
WORKDIR /app
# Install system dependencies if any are needed
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app
EXPOSE 8000
CMD ["uvicorn", "scrapers.cache_server:app", "--host", "0.0.0.0", "--port", "8000"]