Skip to content

Instantly share code, notes, and snippets.

@bilby91
Created March 12, 2018 22:46
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 bilby91/54be0fa85ca7fb1db2e6988aa4b99bda to your computer and use it in GitHub Desktop.
Save bilby91/54be0fa85ca7fb1db2e6988aa4b99bda to your computer and use it in GitHub Desktop.
version: 1
name: My Cool App
description: This text should briefly mention what the application/library is about
docker:
compose_file: docker/docker-compose.yml
tasks:
- name: server
description: Start the development server
command: yarn start
container: app
rm: true
ports:
"8080:8080"
- name: build
description: This command will build the entire application and install dependencies
command: yarn build
container: app
rm: true
- name: test
description: run unit test suite.
command: yarn test
container: app
- name: bash
description: ssh in docker container
command: /bin/bash
container: app
ports:
"8080:8080"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment