Created
January 30, 2019 00:21
-
-
Save alejandrociatti/2bf760b7346e4f5f20e565e9b5e356f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker kill $(docker ps -q) | |
docker build -t timeline-calc . \ | |
&& docker run --log-driver=syslog --log-opt syslog-address=udp://logs7.papertrailapp.com:24524 -d --rm -p 8080:8080 timeline-calc \ | |
&& say "done" && docker attach $(docker ps -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment