Skip to content

Commit

Permalink
copy full app the devel_build stage
Browse files Browse the repository at this point in the history
  • Loading branch information
rambo committed Jan 24, 2025
1 parent 6bd184c commit f987ac6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile_alpine
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ ENTRYPOINT ["/sbin/tini", "--", "/docker-entrypoint.sh"]
#####################################
FROM builder_base as devel_build
# Install deps
WORKDIR /pysetup
COPY . /app
WORKDIR /app
RUN --mount=type=ssh source /.venv/bin/activate \
&& poetry install --no-interaction --no-ansi \
&& true
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile_debian
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ ENTRYPOINT ["/usr/bin/tini", "--", "/docker-entrypoint.sh"]
#####################################
FROM builder_base as devel_build
# Install deps
WORKDIR /pysetup
COPY . /app
WORKDIR /app
RUN --mount=type=ssh source /.venv/bin/activate \
&& poetry install --no-interaction --no-ansi \
&& true
Expand Down

0 comments on commit f987ac6

Please sign in to comment.