From c17aa14601de3981842f6050306746e95dfa4d4f Mon Sep 17 00:00:00 2001 From: tambien Date: Tue, 12 Jun 2018 12:22:13 -0400 Subject: [PATCH] updating to build command in script doesn't have webpack version issue fixes #20 --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 58a0864..c5a2611 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,6 @@ RUN apt-get update && apt-get install -y \ curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - && \ apt-get install -y nodejs -RUN npm install webpack -g - RUN pip install -U https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.1-cp27-none-linux_x86_64.whl @@ -27,7 +25,7 @@ RUN pip install -r /tmp/requirements.txt COPY . /src/ WORKDIR /src/static/ -RUN npm install && webpack -p +RUN npm install && npm run build WORKDIR /src/server/