Spaces:
Runtime error
Runtime error
# Base image | |
FROM python:3.9 | |
# Set working directory | |
WORKDIR /app | |
# Copy the application files | |
COPY app.py . | |
COPY TextSimilarity.py . | |
COPY requirements.txt . | |
COPY utils.py . | |
# Install dependencies | |
RUN pip3 install -r requirements.txt | |
RUN python3 download_model.py | |
# Expose the port | |
EXPOSE 8000 | |
# Run the application | |
CMD ["python3", "app.py"] |