eye-dentify-api / Dockerfile
truegleai's picture
Fix: also COPY index.html into Docker container
174531b verified
raw
history blame contribute delete
352 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg git && rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
COPY index.html .
RUN mkdir -p /data/frames /data/features /data/index /data/videos
EXPOSE 7860
CMD ["python", "app.py"]