Created
October 5, 2021 11:53
-
-
Save fjahn/7ea6bb9f40994b4c0b54c6b6594687f5 to your computer and use it in GitHub Desktop.
Composer Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM composer:2 | |
FROM php:8-cli | |
COPY --from=composer /usr/bin/composer /usr/bin/composer | |
VOLUME /app | |
WORKDIR /app | |
RUN apt update && apt install -y \ | |
git \ | |
unzip libzip-dev \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN docker-php-ext-install zip | |
ENTRYPOINT [ "composer" ] | |
CMD [ "install" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment