updating to build command in script
doesn't have webpack version issue fixes #20
This commit is contained in:
parent
f70cf44949
commit
c17aa14601
@ -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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user