Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -14
Dockerfile
CHANGED
|
@@ -1,17 +1,4 @@
|
|
| 1 |
-
FROM
|
| 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
|