|
|
@ -1,5 +1,4 @@
|
|
|
|
FROM ruby:2.4.1-alpine
|
|
|
|
FROM ruby:2.4.1-alpine
|
|
|
|
MAINTAINER Conor Heine <conor.heine@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /devdocs
|
|
|
|
WORKDIR /devdocs
|
|
|
|
|
|
|
|
|
|
|
@ -7,7 +6,7 @@ COPY . /devdocs
|
|
|
|
|
|
|
|
|
|
|
|
RUN apk --update add nodejs build-base libstdc++ gzip git zlib-dev && \
|
|
|
|
RUN apk --update add nodejs build-base libstdc++ gzip git zlib-dev && \
|
|
|
|
gem install bundler && \
|
|
|
|
gem install bundler && \
|
|
|
|
bundle install --system --without test && \
|
|
|
|
bundle install --system --without test --no-document && \
|
|
|
|
thor docs:download --all && \
|
|
|
|
thor docs:download --all && \
|
|
|
|
thor assets:compile && \
|
|
|
|
thor assets:compile && \
|
|
|
|
apk del gzip build-base git zlib-dev && \
|
|
|
|
apk del gzip build-base git zlib-dev && \
|
|
|
|