Auto-Coding-Agent / Dockerfile
Ashoklumarsimhadri's picture
uplode it
3523f69 verified
Raw
History Blame
229 Bytes
FROM python:3.11-slim
WORKDIR /app
ENV PORT=7860
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-7860}"]