mosecanolimit / Dockerfile
Fabio Grasso
fix: workdir
839bbc6
raw
history blame
419 Bytes
FROM python:3.9
WORKDIR /src
RUN pip install --user --upgrade pip
RUN apt-get update && apt-get install -y ffmpeg
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV PYTHONPATH "${PYTHONPATH}:/app"
EXPOSE 7860
HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
ENTRYPOINT ["streamlit", "run", "app/main.py", "--server.port=7860", "--server.address=0.0.0.0"]