FinancialPlatform / Dockerfile
Dmitry Beresnev
add env, req, gitignore and docker files
a3e694b
raw
history blame
449 Bytes
FROM python:3.12-slim
WORKDIR /app
# System dependencies
RUN apt-get update && apt-get install -y build-essential git && rm -rf /var/lib/apt/lists/*
# Copy and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application
COPY . .
# Expose Streamlit port for Hugging Face
EXPOSE 7860
# Run Streamlit
CMD ["streamlit", "run", "app/main.py", "--server.port=7860", "--server.address=0.0.0.0"]