Created
July 6, 2020 19:17
-
-
Save pmallol/ac0b8648df4765a48ccbadea89fcca36 to your computer and use it in GitHub Desktop.
Add docker-compose.yml to configure docker containers necessary to have a dockerized Middleman app
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
# docker-compose.yml | |
version: '3.7' | |
services: | |
web: | |
build: . | |
command: bundle exec middleman server | |
volumes: | |
- '.:/app' | |
- 'node_modules:/app/node_modules' | |
ports: | |
- '4567:4567' | |
- '1234:1234' | |
volumes: | |
node_modules: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment