Demosthene-OR
commited on
Commit
•
c5eafd1
1
Parent(s):
5915278
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -4,6 +4,8 @@ FROM python:3.10
|
|
4 |
# Set the working directory to /code
|
5 |
WORKDIR /code
|
6 |
|
|
|
|
|
7 |
# Copy the current directory contents into the container at /code
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
|
|
4 |
# Set the working directory to /code
|
5 |
WORKDIR /code
|
6 |
|
7 |
+
RUN --mount=target=/root/packages.txt,source=packages.txt apt-get update && xargs -r -a /root/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
8 |
+
|
9 |
# Copy the current directory contents into the container at /code
|
10 |
COPY ./requirements.txt /code/requirements.txt
|
11 |
|