Spaces:
Runtime error
Runtime error
ayaanzaveri
commited on
Commit
•
75abaa8
1
Parent(s):
d2c572d
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -6,6 +6,9 @@ WORKDIR /code
|
|
6 |
|
7 |
# Copy the current directory contents into the container at /code
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
|
|
|
|
9 |
|
10 |
# Install requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
6 |
|
7 |
# Copy the current directory contents into the container at /code
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
+
COPY ./packages.txt /code/packages.txt
|
10 |
+
|
11 |
+
RUN apt-get update && xargs -r -a /code/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
12 |
|
13 |
# Install requirements.txt
|
14 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|