Skip to content

Commit 33e8f72

Browse files
committed
copy source into container
1 parent 590130e commit 33e8f72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ RUN apt-get update && \
99
RUN python3 -m venv /opt/venv
1010
ENV PATH="/opt/venv/bin:$PATH"
1111

12-
COPY ./requirements.txt /perftest/
12+
COPY . /perftest
1313
RUN pip install -U pip setuptools
1414
RUN pip install --no-deps --requirement /perftest/requirements.txt
15-
16-
COPY . /perftest
1715
RUN pip install -e /perftest
1816

1917
#
@@ -28,6 +26,8 @@ RUN apt-get update && \
2826

2927
# Copy accross the venv
3028
COPY --from=build-image /opt/venv /opt/venv
29+
# Copy code to keep editable install working
30+
COPY . /perftest
3131
ENV PATH="/opt/venv/bin:$PATH"
3232

3333
# Create the user that will be used to run the app

0 commit comments

Comments
 (0)