baiwan02 commited on
Commit
a4b86b1
·
verified ·
1 Parent(s): f3ccc4a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -14
Dockerfile CHANGED
@@ -1,17 +1,4 @@
1
- FROM python:3.12-slim
2
-
3
- WORKDIR /app
4
-
5
- # install git, clone code, install deps, remove build-time deps
6
- RUN apt-get update && \
7
- apt-get install -y --no-install-recommends git && \
8
- git clone --single-branch https://github.com/Sophomoresty/gemini-web2api.git /app && \
9
- pip install --no-cache-dir httpx && \
10
- apt purge -y git && \
11
- apt autoremove -y && \
12
- rm -rf /var/lib/apt/lists/*
13
-
14
- EXPOSE 8081
15
 
16
  COPY entrypoint.sh /entrypoint.sh
17
  RUN chmod +x /entrypoint.sh
 
1
+ FROM ghcr.io/sophomoresty/gemini-web2api:latest
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  COPY entrypoint.sh /entrypoint.sh
4
  RUN chmod +x /entrypoint.sh