Skip to content

Commit

Permalink
chore: remove dep deps from docker image (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
farioas authored Sep 20, 2024
1 parent a25f22b commit c9db93a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.app
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ COPY pyproject.toml poetry.lock ./

# Install dependencies
RUN --mount=type=cache,target=${POETRY_CACHE_DIR} \
poetry install --no-interaction --no-ansi --no-root --with label-studio
poetry install --no-interaction --no-ansi --no-root --without dev --with label-studio

COPY . .

Expand All @@ -66,7 +66,7 @@ RUN --mount=type=cache,target=${POETRY_CACHE_DIR} \
poetry install --no-interaction --no-ansi --only-root

################################### Stage: prod
FROM python-base as production
FROM python-base AS production

# Copy artifacts from other stages
COPY --from=venv-builder /usr/src/app /usr/src/app
Expand Down

0 comments on commit c9db93a

Please sign in to comment.