Commit graph

4 commits

Author SHA1 Message Date
dea5c4e962
Updated Dockerfile
Set to use a newer JRuby
Added an environment variable for the log file location
Changed entrypoint to cmd to add flexibility
Added missing trailing slash to copy command path
2017-06-12 13:27:36 -07:00
Scott Schneider
d85f84011f Add instructions for running in a Docker container 2016-12-20 10:54:09 -08:00
Scott Schneider
833e34ce37 Update Dockerfile to move Gemflie*
...instead of Gemfile and Gemfile.lock (if it exists) individually
2016-12-20 10:45:36 -08:00
Scott Schneider
c5aedc12cb Add an all-in-one Dockerfile
Built off the [jruby](https://hub.docker.com/_/jruby/) `Dockerfile`,
it installs gem requirements via `bundler`, installs and runs a
`redis-server`, imports the current working directory, starts
`vmpooler`, and tails the logfile.

Creating a `vmpooler.yaml` configuration file in the current working
directory and running the following provides a development environment:

```
docker build -t vmpooler . && docker run -p 80:4567 -it vmpooler
```
2016-11-19 09:54:42 -08:00