Skip to content

Instantly share code, notes, and snippets.

@mattn
Created June 18, 2024 15:19
Show Gist options
  • Save mattn/0be70366a144b27398bfb949810ccce3 to your computer and use it in GitHub Desktop.
Save mattn/0be70366a144b27398bfb949810ccce3 to your computer and use it in GitHub Desktop.
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"
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