Created
February 15, 2022 07:51
-
-
Save andrei-dascalu/ab27098450b91f8c4b8cc4aea7c09fb7 to your computer and use it in GitHub Desktop.
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.9' | |
services: | |
app: | |
working_dir: /app | |
build: | |
dockerfile: Dockerfile | |
context: . | |
volumes: | |
- .:/app | |
command: ["/bin/sh", "-c", "composer install -o && php vendor/bin/rr get-binary -n && chmod +x ./rr && ./rr serve"] | |
ports: | |
- 8080:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment