syllables-app-docker / Dockerfile
birgermoell's picture
Added streamlit
e1bef06
raw
history blame contribute delete
No virus
444 Bytes
FROM python:3.9
# Update packages and install espeak
RUN apt-get update && apt-get install -y espeak
# Install Python package dependencies
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
RUN pip install streamlit
# Copy the app files
COPY . /app
# Set the working directory
WORKDIR /app
# Expose the Streamlit port
EXPOSE 8501
# Start the Streamlit app
CMD ["streamlit", "run", "app.py"]