taekepco commited on
Commit
38ffd3a
·
verified ·
1 Parent(s): 38a9454

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -1,6 +1,7 @@
1
- FROM python:3.10
 
2
  WORKDIR /app
3
- RUN pip install --upgrade pip
4
- RUN pip install hermes-agent
5
  ENV HERMES_TOKEN=${TELEGRAM_TOKEN}
6
  CMD ["sh", "-c", "hermes gateway setup --accept-hooks && hermes gateway run"]
 
1
+ FROM python:3.10-slim
2
+ RUN apt-get update && apt-get install -y build-essential && rm -rf /var/lib/apt/lists/
3
  WORKDIR /app
4
+ RUN pip install --no-cache-dir --upgrade pip
5
+ RUN pip install --no-cache-dir hermes-agent
6
  ENV HERMES_TOKEN=${TELEGRAM_TOKEN}
7
  CMD ["sh", "-c", "hermes gateway setup --accept-hooks && hermes gateway run"]