mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
24 lines
351 B
Docker
24 lines
351 B
Docker
FROM ubuntu:trusty
|
|
|
|
LABEL maintainer "itzg"
|
|
|
|
ENV APT_GET_UPDATE 2014-09-18
|
|
|
|
RUN apt-get update
|
|
RUN apt-get -y upgrade
|
|
|
|
RUN apt-get -y install ruby ruby-dev make patch nodejs
|
|
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"]
|