diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..a6b685d577396519ad3b92df43c979b920f3db4f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM ruby:2.6 + +# throw errors if Gemfile has been modified since Gemfile.lock +RUN bundle config --global frozen 1 + +WORKDIR /usr/src/app + +#COPY Gemfile Gemfile.lock ./ +COPY . . + +RUN bundle install + +EXPOSE 8888 +CMD ["/usr/local/bin/bundle", "exec", "/usr/src/app/bin/aethyr", "run"] diff --git a/README.rdoc b/README.rdoc index ecdba1827e34afdd9c95baae6d4c26501d7061fa..6a0d910dcf930946d76304026cd7135fe48787ec 100644 --- a/README.rdoc +++ b/README.rdoc @@ -29,4 +29,9 @@ Just run the application with the following command. bundle install bundle exec rake bundle exec ./bin/aethyr_setup - bundle exec ./bin/aethyr run \ No newline at end of file + bundle exec ./bin/aethyr run + +== Using Docker + + docker build -t syncleus/aethyr . + docker run -p 8888:8888 --rm syncleus/aethyr diff --git a/conf/config.yaml b/conf/config.yaml index 82a58bb7721eff875619863efff2ed7e08125e2d..4db075a8ae8dbf91c1aa5aadedfd5b494069c9a4 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -9,7 +9,7 @@ :restart_delay: 10 :address: 0.0.0.0 :intro_file: intro.txt -:start_room: fcaa64fd-0271-5d23-50d1-62e3bab8aa00 +:start_room: 2197cd6f-523e-0922-6722-fe97b729677c :restart_limit: 15 :mccp: false :mssp: false