FediProxy/Dockerfile

13 lines
234 B
Docker
Raw Permalink Normal View History

2024-12-11 08:26:29 +00:00
FROM python:3.11-slim
WORKDIR /app
COPY main.py ./main.py
COPY requirements.txt ./requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]