Skip to content

Commit 1f6f75d

Browse files
authored
Merge pull request #536 from rstudio/mm-fix-docker-build
Use requirements.txt in docker build
2 parents ce7d2c7 + fdecc3d commit 1f6f75d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

+1
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

+1-1
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)