Spaces:
Sleeping
Sleeping
File size: 443 Bytes
b039578 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# Use an official Python runtime as a parent image
FROM python:3.9
# Set the working directory in the container
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY . /app
# Install required Python packages
RUN pip install --no-cache-dir dash PyPDF2 langchain langchain-community pandas waitress
# Expose port 8080 for the app to run on
EXPOSE 8080
# Run the Dash app using waitress
CMD ["python", "app.py"]
|