syllables-app-docker / Dockerfile
birgermoell's picture
Added docker file
a57943c
raw
history blame
419 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
# 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"]