diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index bea2787bcc..bb5578a650 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -10,7 +10,7 @@ # For reference: # https://docs.docker.com/develop/develop-images/build_enhancements/ -ARG BASE_IMAGE=ubuntu:24.04 +ARG BASE_IMAGE=ubuntu:rolling ARG BUILD_TYPE=dev FROM ${BASE_IMAGE} AS compile-image @@ -110,6 +110,7 @@ RUN python -m pip install -U pip setuptools \ && chown -R model-server /home/venv EXPOSE 8080 8081 8082 7070 7071 +USER model-server WORKDIR /home/model-server ENV TEMP=/home/model-server/tmp ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh"] @@ -138,5 +139,4 @@ RUN set -ex \ FROM ${BUILD_TYPE}-image AS final-image ARG BUILD_TYPE -ENV CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 RUN echo "${BUILD_TYPE} image creation completed"