xdragxt commited on
Commit
7ae8343
·
verified ·
1 Parent(s): 7a25235

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -3
Dockerfile CHANGED
@@ -4,7 +4,13 @@ WORKDIR /app
4
 
5
  COPY . /app
6
 
7
- RUN pip install --no-cache-dir --upgrade pip \
8
- && pip install --no-cache-dir -r requirements.txt
 
 
 
 
 
 
9
 
10
- CMD ["python", "jarvis.py"]
 
4
 
5
  COPY . /app
6
 
7
+ # Install build tools for tgcrypto
8
+ RUN apt-get update && \
9
+ apt-get install -y gcc && \
10
+ pip install --no-cache-dir --upgrade pip && \
11
+ pip install --no-cache-dir -r requirements.txt && \
12
+ apt-get remove -y gcc && \
13
+ apt-get autoremove -y && \
14
+ rm -rf /var/lib/apt/lists/*
15
 
16
+ CMD ["python", "jarvis.py"]