File size: 616 Bytes
9cb1789 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
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
|