Browse Source

install npm deps in docker

Thomas Clavier 1 năm trước cách đây
mục cha
commit
afaa5d4f7b
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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