META / Dockerfile
KVMKASH's picture
Update Dockerfile
fa93057 verified
Raw
History Blame Contribute Delete
271 Bytes
FROM python:3.10-slim
WORKDIR /app
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir fastapi uvicorn pydantic requests openai openenv-core
COPY . .
ENV PYTHONPATH=/app
EXPOSE 7860
CMD ["python", "-m", "server.app"]