GhostBrowser / Dockerfile
M-hv1's picture
Update Dockerfile
1e80c51 verified
Raw
History Blame Contribute Delete
511 Bytes
FROM python:3.11-slim
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY main.py .
# ู…ุชุบูŠุฑ ุจูŠุฆุฉ ุงุฎุชูŠุงุฑูŠ ู„ู…ู„ู ุงู„ูƒูˆูƒูŠุฒ (ูŠู…ูƒู† ุชุฑูƒูŠุจู‡ ูƒู€ volume)
# ENV COOKIES_FILE=/app/cookies.txt
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]