Last active
August 29, 2015 14:18
-
-
Save ryanramage/d9807c1793570cb73b18 to your computer and use it in GitHub Desktop.
Example Dockerfile
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
FROM ryanramage/pm2-git-alpine | |
# Add source files & deps | |
ADD . /var/www/ui-widgets | |
WORKDIR /var/www/ui-widgets | |
# Define mountable directories. | |
VOLUME ["/var/log/ui-widgets"] | |
CMD ["pm2", "start", "./bin/cli.js", "--no-daemon", "-e", "/var/log/ui-widgets/saved-search.err.log", "-o", "/var/log/ui-widgets/saved-search.out.log"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment