FROM pytorch/pytorch:2.6.0-cuda12.4-cudnn9-devel # Use an official Python runtime as a parent image LABEL authors="Adavance Data and Intelegence Lab(ADIL)" # Set the working directory in the container WORKDIR /app RUN pip install spacy transformers sentence_transformers huggingface_hub transformers # Copy the requirements file and install dependencies #COPY requirements.txt ./ #RUN pip install --no-cache-dir -r requirements.txt # Copy the rest of the application code COPY . . # Expose a port (if your app runs a web service) EXPOSE 8000 # Define the command to run the application