mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
23 lines
306 B
Docker
23 lines
306 B
Docker
|
FROM ubuntu:trusty
|
||
|
|
||
|
MAINTAINER itzg
|
||
|
|
||
|
RUN apt-get update
|
||
|
RUN apt-get -y upgrade
|
||
|
|
||
|
RUN apt-get -y install ruby ruby-dev make patch
|
||
|
RUN gem install bundler
|
||
|
|
||
|
ADD Gemfile /tmp/Gemfile
|
||
|
WORKDIR /tmp
|
||
|
RUN bundle install
|
||
|
|
||
|
ADD template /site-template
|
||
|
|
||
|
VOLUME ["/site"]
|
||
|
EXPOSE 4000
|
||
|
|
||
|
ADD start.sh /start
|
||
|
CMD ["/start"]
|
||
|
|