Skip to content

Commit

Permalink
install composer dependencies into docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-j committed May 27, 2024
1 parent 903bb47 commit 33a2709
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ WORKDIR /app
# Copy the cake2 app template code to the working directory
COPY . .

# remove superfluous files
# remove superfluous files & install composer dependencies
RUN set -xe; \
rm -Rf .editorconfig .github .gitignore CHANGELOG.md Dockerfile README.md
rm -Rf .editorconfig .github .gitignore CHANGELOG.md Dockerfile README.md; \
composer install --no-interaction

0 comments on commit 33a2709

Please sign in to comment.