MatteoScript commited on
Commit
e9077b8
·
verified ·
1 Parent(s): d31c241

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -2,6 +2,11 @@ FROM python:3.9
2
 
3
  WORKDIR /code
4
 
 
 
 
 
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 
2
 
3
  WORKDIR /code
4
 
5
+ COPY packages.txt .
6
+ RUN apt-get update && \
7
+ xargs -r -a packages.txt apt-get install -y --no-install-recommends && \
8
+ rm -rf /var/lib/apt/lists/*
9
+
10
  COPY ./requirements.txt /code/requirements.txt
11
 
12
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt