Spaces:
Sleeping
Sleeping
Image-Processsing
commited on
Commit
•
4c83a96
1
Parent(s):
b585a6f
Update Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
CHANGED
@@ -1,6 +1,13 @@
|
|
1 |
FROM python:3.9
|
|
|
2 |
WORKDIR /code
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
COPY ./requirements.txt /code/requirements.txt
|
5 |
|
6 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
1 |
FROM python:3.9
|
2 |
+
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
RUN mkdir -p /.cache
|
6 |
+
|
7 |
+
RUN chmod -R 777 /.cache
|
8 |
+
|
9 |
+
RUN apt-get update && apt-get install -y libgl1-mesa-glx
|
10 |
+
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
|
13 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|