Spaces:
Sleeping
Sleeping
File size: 641 Bytes
e24c826 0a54472 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# Use the official Python base image
FROM python:3.11-slim
# Set the working directory
WORKDIR /app
# Copy the requirements file to the working directory
COPY requirements.txt .
# Upgrade pip to the latest version
RUN pip install --upgrade pip
# Install the dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application code to the working directory
COPY . .
# Install the summarymaker package
RUN pip install .
# Expose the port that Gradio app will run on
EXPOSE 7860
# Entry Point
ENTRYPOINT [ "python" ]
# Define the entry point for the container
CMD ["src/summarizer/webapp/gradio_app.py"] |