ShuoDuan/FinTech_Self-Learning_Project
0
1FROM python:3.10-slim2WORKDIR /usr/src/app3# Get requirements4COPY requirements.txt .5RUN pip install --no-cache-dir -r requirements.txt6# Copy code7COPY . .8# Expose Gradio's default port9EXPOSE 786010# Set environment variables for Docker deployment11ENV GRADIO_SERVER_NAME="0.0.0.0"12ENV GRADIO_SERVER_PORT="7860"13# Run the application14CMD ["python", "app.py"]