Skip to content

Commit

Permalink
Merge pull request #565 from api-platform/fix/deploy
Browse files Browse the repository at this point in the history
fix: link dependencies when cloning core
  • Loading branch information
soyuka authored Sep 9, 2024
2 parents 3f25885 + 81270f8 commit 62da721
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pwa/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ COPY --from=composer /usr/bin/composer /usr/bin/composer
# this is used to preload data see phpwasm
RUN git clone -b main --single-branch --depth=1 https://github.com/api-platform/core core.docs && \
cd core.docs/docs && \
composer install
composer global require soyuka/pmu && \
composer global config allow-plugins.soyuka/pmu true --no-interaction && \
composer global link . --permanent

FROM soyuka/php-wasm:8.2.9 as phpwasm
# We want soyuka/php-wasm to compile without js optimisation so that we can `sed`
Expand Down

0 comments on commit 62da721

Please sign in to comment.