UNCLASSIFIED

Commit 20d6d0e7 authored by Daniel Etrata's avatar Daniel Etrata
Browse files

code review

parent fa7166a8
Pipeline #151525 passed with stages
in 60 minutes and 28 seconds
......@@ -28,7 +28,6 @@ RUN chmod +x ./scripts/rename_pkgs.sh && \
RUN ["/bin/sh", "-c", "/opt/conda/envs/pytorch-py37/bin/python -m pip install --no-deps ./pip_pkgs/pip-*.whl"]
RUN ["/bin/sh", "-c", "/opt/conda/envs/pytorch-py37/bin/python -m pip install --no-deps ./pip_pkgs/setuptools-*.whl"]
# RUN ["/bin/sh", "-c", "/opt/conda/envs/pytorch-py37/bin/python -m pip install --no-deps ./pip_pkgs/wheel-*.whl"]
# Temporarily remove crypto from list of packages
RUN tar -xzf ./pip_pkgs/cryptography-3.3.tar.gz
......@@ -46,8 +45,7 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} as final
ENV PATH /opt/conda/envs/pytorch-py37/bin:$PATH
RUN dnf install -y procps && \
dnf upgrade -y && \
RUN dnf upgrade -y && \
dnf clean all && \
rm -rf /var/cache/dnf
......@@ -64,5 +62,4 @@ RUN find / -path /proc -prune -o -perm /2000 -exec chmod g-s {} \;
RUN groupadd -r kfserving-pytorch && useradd -r -g kfserving-pytorch kfserving-pytorch
USER kfserving-pytorch
HEALTHCHECK CMD ps a | grep python | grep -v grep
ENTRYPOINT ["python3", "-m", "pytorchserver"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment