Files
fetcher/Dockerfile
T

16 lines
428 B
Docker

FROM python:3.12-slim
WORKDIR /app/code
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY app/ ./app/
EXPOSE 8000
# No access log: the path carries the fetched URL, which is member search
# output. Errors still reach Cloudron's log stream; URLs do not.
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--no-access-log"]