Spaces:
Runtime error
Runtime error
FROM python:3.9-slim | |
# Set working directory | |
WORKDIR /app | |
# Copy requirements file | |
COPY requirements.txt . | |
# Install Python dependencies | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
# COPY --chown=user . /app | |
# Expose the port Streamlit uses | |
EXPOSE 8501 | |
# Run the Streamlit app | |
CMD ["streamlit", "run", "/app/app.py"] | |
# Command to run the application | |
# CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "7860"] | |