Skip to content

Instantly share code, notes, and snippets.

@Kristian-Roopnarine
Created November 18, 2020 01:54
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 Kristian-Roopnarine/2a25b15fbafd0d2749088c74d1675a9e to your computer and use it in GitHub Desktop.
Save Kristian-Roopnarine/2a25b15fbafd0d2749088c74d1675a9e to your computer and use it in GitHub Desktop.
Docker-compose
version: '3.7'
services:
web:
stdin_open: true
image: #insert app name
build:
context: .
dockerfile: Dockerfile.dev
volumes:
- '.:/app'
- '/app/node_modules'
ports:
- 5000:5000 # might want to change depending on your preferences
environment:
- CHOKIDAR_USEPOLLING=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment