Spaces:
Sleeping
Sleeping
File size: 583 Bytes
2ca3c48 a1f13e3 2ca3c48 a1f13e3 2ca3c48 a1f13e3 2ca3c48 a1f13e3 2ca3c48 a1f13e3 2ca3c48 a1f13e3 2ca3c48 a1f13e3 2ca3c48 |
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 an Ubuntu-based Python image
FROM ubuntu:22.04
# Set working directory
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
build-essential \
curl \
software-properties-common \
git \
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
# Copy application files
COPY . .
# Install Python dependencies
RUN pip3 install --no-cache-dir -r requirements.txt
# Expose Streamlit port
EXPOSE 8501
# Command to run the Streamlit app
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] |