From fe5dce89a4dc09117645f658a4ce360f2a096296 Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 17 Jan 2024 17:35:04 -0700 Subject: [PATCH] fix Dockerfile --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 811180b..6db2b4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# Docker build instructions for the Nublado controller. +# Docker build instructions for rubin-google-filestore-tools # # This Dockerfile has four stages: # @@ -6,10 +6,9 @@ # Updates the base Python image with security patches and common system # packages. This image becomes the base of all other images. # install-image -# Installs third-party dependencies (controller/requirements/main.txt) +# Installs third-party dependencies (requirements/main.txt) # into a virtual environment and then installs the app. This virtual -# environment is the only thing copied into the runtime image. copying -# across build stages. +# environment is the only thing copied into the runtime image. # runtime-image # - Copies the virtual environment into place. # - Runs a non-root user. @@ -44,7 +43,7 @@ RUN pip install --quiet --no-cache-dir -r requirements.txt # Install the Python package. COPY . /workdir WORKDIR /workdir -RUN pip install --no-cache-dir ./controller +RUN pip install --no-cache-dir . FROM base-image AS runtime-image