Created
September 18, 2017 05:13
-
-
Save paulredmond/de59edf6a42b8c3fbf90711ca7535523 to your computer and use it in GitHub Desktop.
Adding a volume - a Docker Compose file for an example Laravel project
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: | |
app: | |
build: | |
context: . | |
dockerfile: .docker/Dockerfile | |
image: laravel-docker | |
ports: | |
- 8080:80 | |
volumes: | |
- .:/srv/app |
Nope, you have a mistake in your file tree view, which I've used to duplicate, it has a php
folder under .docker
folder.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think there's an error in this line:
shouldn't it be:
?