Chaptive / Dockerfile
Jing997's picture
Add Streamlit app and Xet image helpers
d55322d
raw
history blame contribute delete
353 Bytes
FROM python:3.9-slim
WORKDIR /app
# Copy requirements and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the application code
COPY . .
# Expose the Streamlit port
EXPOSE 8501
# Command to run the application
CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0", "--server.port=8501"]