Skip to content

Commit

Permalink
copy source into container
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnGarbutt committed Feb 10, 2025
1 parent 590130e commit 33e8f72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ RUN apt-get update && \
RUN python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"

COPY ./requirements.txt /perftest/
COPY . /perftest
RUN pip install -U pip setuptools
RUN pip install --no-deps --requirement /perftest/requirements.txt

COPY . /perftest
RUN pip install -e /perftest

#
Expand All @@ -28,6 +26,8 @@ RUN apt-get update && \

# Copy accross the venv
COPY --from=build-image /opt/venv /opt/venv
# Copy code to keep editable install working
COPY . /perftest
ENV PATH="/opt/venv/bin:$PATH"

# Create the user that will be used to run the app
Expand Down

0 comments on commit 33e8f72

Please sign in to comment.