Skip to content

Instantly share code, notes, and snippets.

@muhiro12
Created February 5, 2020 11:23
Show Gist options
  • Save muhiro12/fee181c77b9a7de42d96b12a06660e89 to your computer and use it in GitHub Desktop.
Save muhiro12/fee181c77b9a7de42d96b12a06660e89 to your computer and use it in GitHub Desktop.
version: '3'
services:
web:
build: .
volumes:
- ./flutter_app:/build
working_dir: /build
command: >
bash -c 'flutter create . &&
flutter build web'
nginx:
image: nginx
ports:
- 8080:80
volumes:
- ./flutter_app/build/web/:/usr/share/nginx/html:ro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment