Spaces:
Sleeping
Sleeping
update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
-
|
4 |
|
|
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
-
|
7 |
-
RUN apt-get update && apt-get upgrade -y && apt-get install -y libgl1-mesa-dev
|
8 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
9 |
|
10 |
# Set up a new user named "user" with user ID 1000
|
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
+
RUN apt-get update && apt-get upgrade -y && apt-get install -y libgl1-mesa-dev
|
4 |
|
5 |
+
WORKDIR /code
|
6 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
|
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
# Set up a new user named "user" with user ID 1000
|