Chatbot_test / Dockerfile
Neon-AI's picture
Update Dockerfile
190ec5e verified
raw
history blame contribute delete
329 Bytes
# Base image
FROM python:3.12-slim
# Set workdir
WORKDIR /app
# Copy files
COPY requirements.txt .
COPY app.py .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose Streamlit port
EXPOSE 8501
# Run Streamlit
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]