deepseek_test_dev / Dockerfile
baiwan02's picture
Update Dockerfile
75d3ebf verified
Raw
History Blame Contribute Delete
506 Bytes
FROM python:3.12-slim
WORKDIR /app
# install git, clone code, install deps, remove build-time deps
RUN apt-get update && \
apt-get install -y --no-install-recommends git && \
git clone --single-branch https://github.com/Sophomoresty/gemini-web2api.git /app && \
pip install --no-cache-dir httpx && \
apt purge -y git && \
apt autoremove -y && \
rm -rf /var/lib/apt/lists/*
EXPOSE 8081
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]