mediaflow / Dockerfile
rick88's picture
Create Dockerfile
cedbfe3 verified
Raw History Blame Contribute Delete
570 Bytes
FROM python:3.10-slim-bullseye
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
# System deps
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
&& rm -rf /var/lib/apt/lists/*
# Clone the repo (no trailing dot) and work inside it
RUN git clone --depth=1 https://github.com/henrique9i/UnHided /app/UnHided
WORKDIR /app/UnHided
# Python deps
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
CMD ["uvicorn", "run:main_app", "--host", "0.0.0.0", "--port", "7860"]