Update Dockerfile
Browse files- Dockerfile +5 -10
Dockerfile
CHANGED
@@ -1,18 +1,13 @@
|
|
1 |
# Use the official Python 3.10.9 image
|
2 |
-
FROM python
|
3 |
|
4 |
-
|
5 |
-
ENV HF_HOME=./cache/
|
6 |
|
7 |
-
|
8 |
|
9 |
-
|
10 |
-
COPY requirements.txt .
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
# Install requirements.txt
|
15 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
16 |
|
17 |
COPY . .
|
18 |
|
|
|
1 |
# Use the official Python 3.10.9 image
|
2 |
+
FROM python
|
3 |
|
4 |
+
WORKDIR /usr/src/app
|
|
|
5 |
|
6 |
+
RUN apt-get update && apt-get install -y libgl1-mesa-glx
|
7 |
|
8 |
+
COPY requirements.txt ./
|
|
|
9 |
|
10 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
11 |
|
12 |
COPY . .
|
13 |
|