docuverse / Dockerfile
captain-awesome's picture
Create Dockerfile
e6d7156
raw
history blame contribute delete
405 Bytes
# Use a base image with Python and Streamlit dependencies
FROM python:3.8
# Set the working directory
WORKDIR /app
# Copy your application code into the container
COPY . /app
# Install required dependencies
RUN pip install -r requirements.txt
# Expose the port that Streamlit runs on (default is 8501)
EXPOSE 8501
# Run your Streamlit app when the container starts
CMD ["streamlit", "run", "app.py"]