Spaces:
Running
Running
File size: 445 Bytes
fb458a1 8a71b58 fb458a1 b276f15 8a71b58 fb458a1 eda83bc fb458a1 8a71b58 fb458a1 8a71b58 f148cdc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
build-essential \
libpq-dev \
curl \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
COPY app.py pipeline.py db_utils.py ./
ENV PORT=8501
EXPOSE 8501
CMD ["python", "-u", "-m", "streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|