Spaces:
Build error
Build error
File size: 413 Bytes
82ccfe2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # Use an official Python image
FROM python:3.10
# Set the working directory
WORKDIR /home/user/app
# Copy and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Install the spaCy model inside the Docker container
RUN python -m spacy download en_core_web_sm
# Copy the rest of your application
COPY . .
# Set the command to run your app
CMD ["python", "app.py"]
|