fix: install python-telegram-bot separately to avoid build error
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -6,7 +6,8 @@ ENV REMOTE_FOLDER="huggingface:/hermes"
|
|
| 6 |
RUN apt-get update && apt-get install -y ripgrep ffmpeg git nginx lsof build-essential psmisc cron && rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
#RUN curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
|
| 9 |
-
RUN pip install --no-cache-dir
|
|
|
|
| 10 |
|
| 11 |
COPY --from=rclone /usr/local/bin/rclone /usr/bin/rclone
|
| 12 |
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
| 6 |
RUN apt-get update && apt-get install -y ripgrep ffmpeg git nginx lsof build-essential psmisc cron && rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
#RUN curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
|
| 9 |
+
RUN pip install --no-cache-dir git+https://github.com/NousResearch/hermes-agent.git aiohttp && \
|
| 10 |
+
pip install --no-cache-dir 'python-telegram-bot[webhooks]>=22.6,<23'
|
| 11 |
|
| 12 |
COPY --from=rclone /usr/local/bin/rclone /usr/bin/rclone
|
| 13 |
COPY entrypoint.sh /entrypoint.sh
|