Skip to content

Commit

Permalink
docs: update docker.mdx to Replace yarn install with yarn install --f…
Browse files Browse the repository at this point in the history
…rozen-lockfile for consistent dependency installation (#9728)

### Description

- Updated the docker.mdx documentation to reflect the change from yarn
install to yarn install --frozen-lockfile.

- This change ensures that the yarn.lock file remains unchanged during
installation, promoting consistency across environments and preventing
unintended updates to dependencies.

- Provides more predictable and reliable dependency management,
especially in CI/CD pipelines and across development environments.
  • Loading branch information
jonathandsouza authored Jan 20, 2025
1 parent dcf6e66 commit fad0890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/repo-docs/guides/tools/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ WORKDIR /app
# First install the dependencies (as they change less often)
COPY --from=builder /app/out/json/ .
RUN yarn install
RUN yarn install --frozen-lockfile
# Build the project
COPY --from=builder /app/out/full/ .
Expand Down

0 comments on commit fad0890

Please sign in to comment.