Skip to content

Commit fdecc3d

Browse files
committed
use requirements.txt in docker build
1 parent ce7d2c7 commit fdecc3d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ FROM ${BASE_IMAGE}
33

44
WORKDIR /rsconnect
55
COPY scripts/build-image build-image
6+
COPY requirements.txt .
67
RUN bash build-image && rm -vf build-image

scripts/build-image

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ set -o xtrace
88
exit 1
99
}
1010
python -m pip install --upgrade pip
11-
pip install '.[test]'
11+
pip install -r requirements.txt

0 commit comments

Comments
 (0)