data_anilsys / Dockerfile
mehdi364's picture
Create Dockerfile
b039578 verified
raw
history blame contribute delete
443 Bytes
# 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"]