Commit
·
28ee034
1
Parent(s):
8d3d5a0
removed cpu flags check
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
@@ -5,7 +5,7 @@ FROM python:3.12.10-slim-bookworm AS base
|
|
5 |
|
6 |
# get the build essential tools
|
7 |
RUN apt-get update && apt-get install --no-install-recommends -y \
|
8 |
-
curl ca-certificates
|
9 |
apt-get clean && rm -rf /var/lib/apt/lists/* ~/.cache/
|
10 |
|
11 |
# download the latest version of uv
|
@@ -27,9 +27,6 @@ RUN uv sync --no-cache-dir --compile-bytecode \
|
|
27 |
# add app env var to path
|
28 |
ENV PATH="/app/.venv/bin:$PATH"
|
29 |
|
30 |
-
# check cpu flags
|
31 |
-
RUN lscpu | grep Flags
|
32 |
-
|
33 |
# model export to onnx
|
34 |
RUN optimum-cli export onnx \
|
35 |
--opset 14 --task text-classification \
|
|
|
5 |
|
6 |
# get the build essential tools
|
7 |
RUN apt-get update && apt-get install --no-install-recommends -y \
|
8 |
+
curl ca-certificates && \
|
9 |
apt-get clean && rm -rf /var/lib/apt/lists/* ~/.cache/
|
10 |
|
11 |
# download the latest version of uv
|
|
|
27 |
# add app env var to path
|
28 |
ENV PATH="/app/.venv/bin:$PATH"
|
29 |
|
|
|
|
|
|
|
30 |
# model export to onnx
|
31 |
RUN optimum-cli export onnx \
|
32 |
--opset 14 --task text-classification \
|