autgen / Dockerfile
StarrySkyWorld's picture
refactor: 替换 undetected-chromedriver 为 seleniumbase,并简化 VNC 相关配置
c94202e
raw
history blame contribute delete
354 Bytes
FROM python:3.12.12
WORKDIR /app
ENV PYTHONUNBUFFERED=1
ENV PORT=7860
COPY . .
COPY example.config.json config.json
RUN apt-get update -y \
&& apt-get install -y chromium chromium-driver xvfb \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir -r requirements.txt
RUN chmod +x /app/startup.sh
EXPOSE 7860
CMD ["/app/startup.sh"]