From 822cdaec4dcd5aac2cfc190a07eb9b9d4ddaac54 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 2 Dec 2024 19:16:35 +0000 Subject: [PATCH] make build.sh more accurately match what the github workflow does (#491) --- .devcontainer/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index e2b482e9..cea8fa13 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,4 +3,6 @@ ARG DEBIAN_FRONTEND=noninteractive ARG XDEBUG_MODE=coverage RUN apt update -y && apt install -y git composer php-cli php-dom php-curl php-xdebug vim WORKDIR /app -CMD cd /app/generator/doc && ./update.sh && cd /app/generator && composer install && php ./safe.php generate && composer cs-fix +CMD cd /app/generator/doc && ./update.sh && \ + cd /app && composer install && \ + cd /app/generator && composer install && php ./safe.php generate