botInfinity's picture
Create Dockerfile
80dfc88 verified
raw
history blame contribute delete
371 Bytes
# ← pick a Python base image
FROM python:3.10-slim
# ← set working directory
WORKDIR /app
# β†’ copy everything
COPY . /app
# β†’ install deps
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# β†’ expose streamlit default port
EXPOSE 8501
# β†’ final command
CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0", "--server.port=8501"]