Spaces:
Sleeping
Sleeping
File size: 512 Bytes
4bbf392 00f4271 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | FROM python:3.11-slim
WORKDIR /code
# Install git (required for pip installing from github)
RUN apt-get update && apt-get install -y git \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# Copy the rest of the application code
COPY . .
# Expose the port for Streamlit
EXPOSE 7860
# Command to run the app
CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0", "--server.port=7860"] |