yoga-pose-classifier / Dockerfile
arifa-batool's picture
Update Dockerfile
d5f0456 verified
raw
history blame contribute delete
424 Bytes
FROM python:3.10
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
gcc \
libgl1 \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p static/uploads
# Hugging Face requires port 7860
EXPOSE 7860
CMD ["python", "app.py"]