Skip to content

Commit

Permalink
have codebase at hand when installing
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek committed Jan 17, 2024
1 parent 9d52b7e commit 10a15bf
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ ARG ACTOR_PATH_IN_DOCKER_CONTEXT
RUN rm -rf /usr/src/app/*
WORKDIR /usr/src/app

COPY pyproject.toml ./
COPY poetry.lock ./

# Poetry respects the "readme" key in pyproject.toml, so when installing
# the local package it complains about missing README.md if not present
COPY README.md ./
COPY . ./

RUN echo "Python version:" \
&& python --version \
Expand All @@ -25,8 +20,6 @@ RUN echo "Python version:" \
&& echo "All installed Python packages:" \
&& pip freeze

COPY . ./

RUN python3 -m compileall -q .

ENV ACTOR_PATH_IN_DOCKER_CONTEXT="${ACTOR_PATH_IN_DOCKER_CONTEXT}"
Expand Down

0 comments on commit 10a15bf

Please sign in to comment.