Order-Bot / Dockerfile
Viraj2307's picture
Update Dockerfile
107ce14 verified
raw
history blame
504 Bytes
# Start from an official Python base image
FROM python:3.10-slim
# Install system dependencies for PortAudio
RUN apt-get update && \
apt-get install -y portaudio19-dev && \
apt-get clean
# Install pip dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt
# Copy the Streamlit app files into the container
COPY . /app
WORKDIR /app
# Expose port for Streamlit (default is 8501)
EXPOSE 8501
# Set the command to run the app with Streamlit
CMD ["streamlit", "run", "page.py"]