Investment_Assistant / Dockerfile
Egeekle's picture
Update DockerFile - Python version
38f529c verified
raw
history blame contribute delete
456 Bytes
FROM python:3.10-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
gcc \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements and install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files
COPY main.py .
COPY streamlit_app.py .
# Expose ports
EXPOSE 8000 8501
# Start script
COPY start.sh .
RUN chmod +x start.sh
CMD ["./start.sh"]