Created
June 18, 2024 15:19
-
-
Save mattn/0be70366a144b27398bfb949810ccce3 to your computer and use it in GitHub Desktop.
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
version: "3" | |
services: | |
php: | |
build: . | |
volumes: | |
- ./html:/var/www/html | |
- ./app:/app | |
ports: | |
- "8080:80" | |
composer: | |
image: composer | |
volumes: | |
- ./app:/app | |
links: | |
- php | |
command: "composer update" |
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 php:7.3-apache | |
RUN a2enmod rewrite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment