diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 0814285d..00000000 --- a/Dockerfile +++ /dev/null @@ -1,34 +0,0 @@ - -# Minimal configuration for building a DPN-Server test instance. -# -# -# There are a few customizations for running it in your environment -# - Run parameters -# - docker run -it --net=host --name test /bin/bash -# - --net=host makes the instance visible on your local network -# - any service locked down to localhost will need to be modified to allow the host IP -# - you'll get a bash prompt to make changes in your local environment -# - type exit to close the shell -# -# - if you want to preserve changes do a commit -# - docker ps -l -# - docker commit dpcolar/dpn-server:v2 -# -# -FROM ruby:2.3.1 -RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs nano -ENV Release_dir dpn-server-2.0.0-develop -## Set your Build Tag -RUN git clone -b develop https://github.com/dpn-admin/dpn-server.git /$Release_dir -RUN cd /$Release_dir; git submodule update --init --recursive -WORKDIR $Release_dir -## Gemfile.local should be in your CWD -COPY Gemfile.local /$Release_dir/Gemfile.local -RUN gem install bundler -RUN bundle install --path .bundle -RUN bundle exec rake config -RUN bundle exec rake assets:precompile -RUN bundle exec rake db:setup -ADD . /$Release_dir -EXPOSE 80 -EXPOSE 443