diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..ea08119bd --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +# git +.git/ +.gitignore diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..afa1768c3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM ruby:2.3.1-alpine + +RUN apk add --update --no-cache \ + alpine-sdk \ + nodejs \ + tzdata + +WORKDIR /app/ + +COPY . /app/ + +RUN bundle install + +RUN npm install + +RUN npm install -g bower grunt + +RUN bundle exec rake bower:install + +RUN grunt