Spaces:
Sleeping
Sleeping
File size: 568 Bytes
4fe1bc4 |
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 |
# Use the official Python image as a base
FROM python:3.9-slim
# Set the working directory in the container
WORKDIR /app
# Copy the requirements file into the container
COPY requirements.txt /app
# Copy .streamlit folder
COPY .streamlit /app/.streamlit
# Copy Data folder
COPY Data /app/Data
# Install the dependencies
RUN pip install -r requirements.txt
# Copy the rest of your application code into the container
COPY . /app
# Expose the port Streamlit runs on
EXPOSE 8501
# Run the Streamlit app
CMD ["streamlit", "run", "app.py"]
|