Spaces:
Sleeping
Sleeping
Neurolingua
commited on
Commit
•
7866e2d
1
Parent(s):
3a9ff3c
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
FROM python:3.9-slim
|
2 |
RUN pip install --no-cache-dir --upgrade pip
|
3 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirement.txt
|
4 |
|
5 |
RUN apt-get update && apt-get install -y \
|
6 |
libgl1-mesa-glx \
|
@@ -9,6 +8,6 @@ RUN apt-get update && apt-get install -y \
|
|
9 |
|
10 |
WORKDIR /code
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
-
RUN pip install --no-cache-dir --upgrade -r /code/
|
13 |
COPY . /code
|
14 |
CMD ["python", "app.py"]
|
|
|
1 |
FROM python:3.9-slim
|
2 |
RUN pip install --no-cache-dir --upgrade pip
|
|
|
3 |
|
4 |
RUN apt-get update && apt-get install -y \
|
5 |
libgl1-mesa-glx \
|
|
|
8 |
|
9 |
WORKDIR /code
|
10 |
COPY ./requirements.txt /code/requirements.txt
|
11 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
COPY . /code
|
13 |
CMD ["python", "app.py"]
|