Created
July 27, 2022 18:23
-
-
Save syntaqx/8cf35dbb3a595a97e54a06a31ccc6552 to your computer and use it in GitHub Desktop.
Work in PHP 7.4 easier
This file contains hidden or 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
version: '3.1' | |
services: | |
package: | |
build: . | |
volumes: | |
- .:/app | |
stdin_open: true # docker run -i | |
tty: true # docker run -t |
This file contains hidden or 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 php:7.4 | |
RUN apt-get update && apt-get install -y git unzip | |
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer | |
WORKDIR /app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment