Satu3741/SignLanguage
0
1FROM python:3.9-slim
2
3WORKDIR /app
4
5# Install system dependencies
6RUN apt-get update && apt-get install -y \
7 libgl1-mesa-glx \
8 libglib2.0-0 \
9 && rm -rf /var/lib/apt/lists/*
10
11# Copy requirements and install Python dependencies
12COPY requirements.txt .
13RUN pip install --no-cache-dir -r requirements.txt
14
15# Copy the model and application code
16COPY cnn8grps_rad1_model.h5 .
17COPY app_huggingface.py .
18
19# Expose the port
20EXPOSE 8000
21
22# Run the application
23CMD ["uvicorn", "app_huggingface:app", "--host", "0.0.0.0", "--port", "8000"] 