Spaces:
Configuration error
Configuration error
Commit
·
8937613
1
Parent(s):
3806fa6
Minor fixes -
Browse files- Use port 5001
- Publish cpu only arm64 image to quay.io as well
Signed-off-by: Anil Vishnoi <[email protected]>
- .github/workflows/images.yml +1 -1
- Containerfile +2 -2
.github/workflows/images.yml
CHANGED
@@ -97,7 +97,7 @@ jobs:
|
|
97 |
push: true
|
98 |
tags: ${{ steps.quay_serve_cpu_meta.outputs.tags }}
|
99 |
labels: ${{ steps.quay_serve_cpu_meta.outputs.labels }}
|
100 |
-
platforms: linux/amd64
|
101 |
cache-from: type=gha
|
102 |
cache-to: type=gha,mode=max
|
103 |
file: Containerfile
|
|
|
97 |
push: true
|
98 |
tags: ${{ steps.quay_serve_cpu_meta.outputs.tags }}
|
99 |
labels: ${{ steps.quay_serve_cpu_meta.outputs.labels }}
|
100 |
+
platforms: linux/amd64, linux/arm64
|
101 |
cache-from: type=gha
|
102 |
cache-to: type=gha,mode=max
|
103 |
file: Containerfile
|
Containerfile
CHANGED
@@ -27,6 +27,6 @@ ENV OMP_NUM_THREADS=4
|
|
27 |
|
28 |
COPY ./docling_serve /docling-serve/docling_serve
|
29 |
|
30 |
-
EXPOSE
|
31 |
|
32 |
-
CMD ["poetry", "run", "uvicorn", "--port", "
|
|
|
27 |
|
28 |
COPY ./docling_serve /docling-serve/docling_serve
|
29 |
|
30 |
+
EXPOSE 5001
|
31 |
|
32 |
+
CMD ["poetry", "run", "uvicorn", "--port", "5001", "--host", "0.0.0.0", "docling_serve.app:app"]
|