Browse Source

install npm deps in docker

Thomas Clavier 1 year ago
parent
commit
afaa5d4f7b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Dockerfile

+ 3 - 0
Dockerfile

@@ -14,4 +14,7 @@ WORKDIR /workspace
 COPY Gemfile /workspace
 COPY Gemfile.lock /workspace
 RUN bundle install
+COPY package.json /workspace
+COPY package-lock.json /workspace
+RUN npm ci
 CMD bash