WageWise / Dockerfile
Senasu's picture
Update Dockerfile
9d7b7e0 verified
raw
history blame contribute delete
640 Bytes
FROM python:3.9
# Install system dependencies required by Prophet
RUN apt-get update && apt-get install -y \
build-essential \
libpython3-dev \
python3-pip \
python3-setuptools \
python3-wheel \
python3-dev \
&& rm -rf /var/lib/apt/lists/*
# Copy all files at once to minimize layers
COPY . /app
WORKDIR /app
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Verify files are in place
RUN ls -la /app && \
ls -la /app/Finance\ Data/
EXPOSE 8501
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]