Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -6
Dockerfile
CHANGED
|
@@ -1,7 +1,9 @@
|
|
| 1 |
-
FROM python:3
|
| 2 |
-
WORKDIR /usr/src/app
|
| 3 |
-
COPY requirements.txt ./
|
| 4 |
-
RUN pip install
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
| 7 |
CMD ["python","./app.py"]
|
|
|
|
| 1 |
+
FROM python:3
|
| 2 |
+
WORKDIR /usr/src/app
|
| 3 |
+
COPY requirements.txt ./
|
| 4 |
+
RUN pip install coloredlogs flatbuffers numpy packaging protobuf sympy
|
| 5 |
+
RUN pip install --pre --index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/ onnxruntime
|
| 6 |
+
RUN pip install -r requirements.txt
|
| 7 |
+
COPY . .
|
| 8 |
+
EXPOSE 7860
|
| 9 |
CMD ["python","./app.py"]
|