Skip to content

Commit

Permalink
updating to build command in script
Browse files Browse the repository at this point in the history
doesn't have webpack version issue

fixes #20
  • Loading branch information
tambien committed Jun 12, 2018
1 parent f70cf44 commit c17aa14
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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/

Expand Down

0 comments on commit c17aa14

Please sign in to comment.