This repository has been archived by the owner. It is now read-only.
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 314 Bytes
FROM node:carbon
RUN npm install --prod
FROM ruby:2.3
ENV LANG C.UTF-8
# throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1
COPY Gemfile Gemfile.lock Rakefile ./
COPY . .
RUN bundle install
CMD ["docker:prod_test"]
ENTRYPOINT ["bundle", "exec", "rake"]
EXPOSE 8080