Spaces:
Running
Running
Update Dockerfile
Browse files- 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
|