zero
commited on
Commit
•
a99963a
1
Parent(s):
fac3190
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -6,8 +6,8 @@ ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:
|
|
6 |
CMD ["python3"]
|
7 |
WORKDIR /app
|
8 |
|
9 |
-
RUN
|
10 |
-
RUN
|
11 |
|
12 |
EXPOSE 6008
|
13 |
CMD ["uvicorn" "localembedding:app" "--host" "0.0.0.0" "--port" "6008"]
|
|
|
6 |
CMD ["python3"]
|
7 |
WORKDIR /app
|
8 |
|
9 |
+
RUN pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple
|
10 |
+
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
11 |
|
12 |
EXPOSE 6008
|
13 |
CMD ["uvicorn" "localembedding:app" "--host" "0.0.0.0" "--port" "6008"]
|