Skip to content

Instantly share code, notes, and snippets.

@nbeck415
Created October 3, 2023 20:03
Show Gist options
  • Save nbeck415/7ad8799460cea14308086b365265fcca to your computer and use it in GitHub Desktop.
Save nbeck415/7ad8799460cea14308086b365265fcca to your computer and use it in GitHub Desktop.
This service enables Docker Compose Watch on the frontend for your fork of shipyard/react-flask-starter
version: '3'
services:
frontend:
labels:
shipyard.route: '/'
build: 'frontend'
env_file:
- frontend/frontend.env
develop:
watch:
- action: sync
path: ./frontend/src
target: /app/src
- action: sync
path: ./frontend/public
target: /app/public
ports:
- '3000:3000'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment