project-sign-language/Sign_language
0
1FROM python:3.12-slim2 3RUN apt-get update && \4 apt-get upgrade -y && \5 apt-get install ffmpeg libsm6 libxext6 -y && \6 apt-get clean7 8# Install the dependancies9COPY requirements.txt /10RUN pip install --no-cache-dir -r requirements.txt11 12# Download the spaCy model13RUN python -m spacy download en_core_web_md14 15# Download NLTK data16RUN [ "python", "-c", "import nltk; nltk.download('wordnet', download_dir='/usr/local/nltk_data')" ]17 18# Copy the code files19COPY src /20 21# Listen to port 786022EXPOSE 786023 24# Define the working dir in the contener25WORKDIR /26 27# Commande to start the app28CMD ["gunicorn", "--bind", "0.0.0.0:7860", "main:app"]29 