diff --git a/Dockerfile b/Dockerfile index 8e8ca552..71852816 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,4 +3,5 @@ FROM ${BASE_IMAGE} WORKDIR /rsconnect COPY scripts/build-image build-image +COPY requirements.txt . RUN bash build-image && rm -vf build-image diff --git a/scripts/build-image b/scripts/build-image index a29e1c42..a905dfca 100755 --- a/scripts/build-image +++ b/scripts/build-image @@ -8,4 +8,4 @@ set -o xtrace exit 1 } python -m pip install --upgrade pip -pip install '.[test]' +pip install -r requirements.txt