ner_service (latest)
Published 2025-03-17 14:03:05 +00:00 by cicd
Installation
docker pull git.d.aiengines.ir/bi/ner_service:latestsha256:734e7238c9b44915283a044600f921578fd34bce95fe15f058ebdca7bfc8b0a7Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:7f9a3c5a4231ed19174c21d17ce05d84d568cff6d3a0c2a1d7c3a9be5e45c02c in / |
| CMD ["/bin/bash"] |
| ARG PYTORCH_VERSION |
| ARG TRITON_VERSION |
| ARG TARGETPLATFORM |
| ARG CUDA_VERSION |
| LABEL com.nvidia.volumes.needed=nvidia_driver |
| RUN |4 PYTORCH_VERSION=2.2.1 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=12.1.1 /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates libjpeg-dev libpng-dev && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY /opt/conda /opt/conda # buildkit |
| RUN |4 PYTORCH_VERSION=2.2.1 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=12.1.1 /bin/sh -c if test -n "${TRITON_VERSION}" -a "${TARGETPLATFORM}" != "linux/arm64"; then DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends gcc; rm -rf /var/lib/apt/lists/*; fi # buildkit |
| ENV PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| ENV NVIDIA_VISIBLE_DEVICES=all |
| ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility |
| ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64 |
| ENV PYTORCH_VERSION=2.2.1 |
| WORKDIR /workspace |
| /bin/sh -c apt-get update && apt-get install -y git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 ffmpeg nano p7zip-full imagemagick wget unzip && apt-get clean && rm -rf /var/lib/apt/lists/* |
| WORKDIR /app |
| /bin/sh -c mkdir -p model && wget -O model/model.zip https://cdn.d.aiengines.ir/sa-archive/NER008.zip && unzip model/model.zip -d model/ |
| COPY file:faf0ac5e5693d634c0176243095d7a36981deff79d7a0112ebec2aca691e349d in ./ |
| /bin/sh -c pip install --no-cache-dir -r requirements.txt |
| COPY multi:3950a825b933cbdba14ce9041f24c52a0abf4c193557008c1d93cd15a2b10776 in ./ |
| EXPOSE 6560 |
| ENTRYPOINT ["python3"] |
| CMD ["Scripts/Service/main.py"] |
| LABEL org.opencontainers.image.created=2025-03-17T13:57:52Z |
| LABEL org.opencontainers.image.revision=58f1229d6a902465c73117a73b98c045f6f3d525 |
| LABEL org.opencontainers.image.source=https://git.d.aiengines.ir/bi/NER_service.git |
| LABEL org.opencontainers.image.url=https://git.d.aiengines.ir/bi/NER_service |
Labels
| Key | Value |
|---|---|
| com.nvidia.volumes.needed | nvidia_driver |
| org.opencontainers.image.created | 2025-03-17T13:57:52Z |
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.revision | 58f1229d6a902465c73117a73b98c045f6f3d525 |
| org.opencontainers.image.source | https://git.d.aiengines.ir/bi/NER_service.git |
| org.opencontainers.image.url | https://git.d.aiengines.ir/bi/NER_service |
| org.opencontainers.image.version | 22.04 |
Details
2025-03-17 14:03:05 +00:00
Versions (3)
View all
Container
0
OCI / Docker
linux/amd64
4.6 GiB