Skip to content

Commit 45716f2

Browse files
committed
Fix Docker build: Install package in development mode before tests
1 parent 1579687 commit 45716f2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ COPY . .
1010
# Install any needed packages specified in requirements.txt
1111
RUN pip install --no-cache-dir -r requirements.txt
1212

13+
# Install the package in development mode before running tests
14+
RUN pip install -e .
15+
1316
# Install pytest for running tests
1417
RUN pip install pytest
1518

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
numpy
2+
flask
3+
flask-cors

0 commit comments

Comments
 (0)