CoolFace
Apppublic

rapidflow/handson

sourceHugging Faceapache-2.0updated 7mo agoView on Hugging Face
0likes
Dockerfile15 linesDownload Raw Back to root
1# Use a minimal base image with Python 3.9 installed2FROM python:3.9-slim3 4# Set the working directory inside the container to /app5WORKDIR /app6 7# Copy all files from the current directory on the host to the container's /app directory8COPY . .9 10# Install Python dependencies listed in requirements.txt11RUN pip3 install -r requirements.txt12 13# Define the command to run the Streamlit app on port 8501 and make it accessible externally14CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]15