This commit is contained in:
2019-03-14 22:32:24 +09:00
parent b71c58d4b9
commit eb5450900a
9 changed files with 60 additions and 79 deletions

View File

@@ -1,15 +0,0 @@
FROM ruby:2.5
# see http://stackoverflow.com/questions/38453963/gitlab-ci-setup-error-could-not-find-a-javascript-runtime
RUN apt-get update && apt-get install nodejs -y
# throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1
ENV LANG C.UTF-8
WORKDIR /usr/src/app
COPY Gemfile Gemfile.lock /usr/src/app/
RUN bundle install
COPY . /usr/src/app