Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmallol/ac0b8648df4765a48ccbadea89fcca36 to your computer and use it in GitHub Desktop.
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
# 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