Veda-Assistant / Dockerfile
github-actions
Deploy from DharambirAgrawal/vayumi_backend@26dd53cd146c7fe21c6a1af67d676a3ce479b645 (staging)
2c5781b
raw
history blame contribute delete
423 Bytes
FROM python:3.10-slim
RUN apt-get update && apt-get install -y \
git \
curl \
build-essential \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
HEALTHCHECK --interval=30s --timeout=10s --start-period=120s \
CMD curl -f http://localhost:7860/health || exit 1
CMD ["python", "app.py"]