Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tobiasoberrauch/8640fb3625710861c2c5203a682058f1 to your computer and use it in GitHub Desktop.
Save tobiasoberrauch/8640fb3625710861c2c5203a682058f1 to your computer and use it in GitHub Desktop.
Arkans-MacBook-Pro:word-vector-service tobiasoberrauch$ now
> Deploying ~/Repositories/tobiasoberrauch/word-vector-service under [email protected]
> https://word-vector-service-osrvnzchvh.now.sh [in clipboard] (bru1) [5s]
> Building…
> ▲ docker build
Sending build context to Docker daemon 13.31 kBkB
> Step 1/14 : FROM python:3.6-jessie
> ---> 11aa3556fb90
> Step 2/14 : MAINTAINER Tobias Oberrauch "[email protected]"
> ---> Using cache
> ---> b2ffef417ff3
> Step 3/14 : RUN apt update
> ---> Using cache
> ---> 9aee8d235c3a
> Step 4/14 : RUN apt install curl gcc
> ---> Using cache
> ---> 0f0fac199ff4
> Step 5/14 : RUN mkdir -p /usr/src/app
> ---> Using cache
> ---> 58f53696187d
> Step 6/14 : RUN mkdir -p /usr/src/app/models
> ---> Using cache
> ---> e2a45d7085bd
> Step 7/14 : WORKDIR /usr/src/app
> ---> Using cache
> ---> 4cbcad88e6ef
> Step 8/14 : RUN curl -s https://s3-us-west-1.amazonaws.com/fasttext-vectors/word-vectors-v2/cc.de.300.bin.gz | gunzip > ./models/cc.de.300.bin
> ---> Running in 702e957c7f7b
> ---> 5a866fb6e436
> Removing intermediate container 702e957c7f7b
> Step 9/14 : COPY requirements.txt /usr/src/app/
> ---> 060f8270136b
> Step 10/14 : RUN pip3 install -r requirements.txt
> ---> Running in b8511fd71218
> Collecting flask==1.0.2 (from -r requirements.txt (line 1))
> Downloading https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl (91kB)
> Collecting pybind11==2.2.3 (from -r requirements.txt (line 2))
> Downloading https://files.pythonhosted.org/packages/12/90/0f92a575dc60c8fba6d0c91d6b45abdb1058da9ebed40400cbcfad2ac0a7/pybind11-2.2.3-py2.py3-none-any.whl (144kB)
> Collecting numpy==1.14.3 (from -r requirements.txt (line 3))
> Downloading https://files.pythonhosted.org/packages/71/90/ca61e203e0080a8cef7ac21eca199829fa8d997f7c4da3e985b49d0a107d/numpy-1.14.3-cp36-cp36m-manylinux1_x86_64.whl (12.2MB)
> Collecting scipy==1.1.0 (from -r requirements.txt (line 4))
> Downloading https://files.pythonhosted.org/packages/a8/0b/f163da98d3a01b3e0ef1cab8dd2123c34aee2bafbb1c5bffa354cc8a1730/scipy-1.1.0-cp36-cp36m-manylinux1_x86_64.whl (31.2MB)
> Collecting Flask-Compress==1.4.0 (from -r requirements.txt (line 5))
> Downloading https://files.pythonhosted.org/packages/0e/2a/378bd072928f6d92fd8c417d66b00c757dc361c0405a46a0134de6fd323d/Flask-Compress-1.4.0.tar.gz
> Collecting Jinja2>=2.10 (from flask==1.0.2->-r requirements.txt (line 1))
> Downloading https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl (126kB)
> Collecting itsdangerous>=0.24 (from flask==1.0.2->-r requirements.txt (line 1))
> Downloading https://files.pythonhosted.org/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz (46kB)
> Collecting click>=5.1 (from flask==1.0.2->-r requirements.txt (line 1))
> Downloading https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl (71kB)
> Collecting Werkzeug>=0.14 (from flask==1.0.2->-r requirements.txt (line 1))
> Downloading https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)
> Collecting MarkupSafe>=0.23 (from Jinja2>=2.10->flask==1.0.2->-r requirements.txt (line 1))
> Downloading https://files.pythonhosted.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz
> Building wheels for collected packages: Flask-Compress, itsdangerous, MarkupSafe
> Running setup.py bdist_wheel for Flask-Compress: started
> Running setup.py bdist_wheel for Flask-Compress: finished with status 'done'
> Stored in directory: /root/.cache/pip/wheels/96/32/88/a1f6d9dd3c29570ab3a8acc0d556b3b20abcf3c623c868ce0a
> Running setup.py bdist_wheel for itsdangerous: started
> Running setup.py bdist_wheel for itsdangerous: finished with status 'done'
> Stored in directory: /root/.cache/pip/wheels/2c/4a/61/5599631c1554768c6290b08c02c72d7317910374ca602ff1e5
> Running setup.py bdist_wheel for MarkupSafe: started
> Running setup.py bdist_wheel for MarkupSafe: finished with status 'done'
> Stored in directory: /root/.cache/pip/wheels/33/56/20/ebe49a5c612fffe1c5a632146b16596f9e64676768661e4e46
> Successfully built Flask-Compress itsdangerous MarkupSafe
> Installing collected packages: MarkupSafe, Jinja2, itsdangerous, click, Werkzeug, flask, pybind11, numpy, scipy, Flask-Compress
> Successfully installed Flask-Compress-1.4.0 Jinja2-2.10 MarkupSafe-1.0 Werkzeug-0.14.1 click-6.7 flask-1.0.2 itsdangerous-0.24 numpy-1.14.3 pybind11-2.2.3 scipy-1.1.0
> ---> 9b954a989fe5
> Removing intermediate container b8511fd71218
> Step 11/14 : WORKDIR /usr/src/app
> ---> 8c06d344fd12
> Removing intermediate container 9622a1d6f448
> Step 12/14 : COPY . /usr/src/app/
> ---> 563811bb7757
> Step 13/14 : ENTRYPOINT python3
> ---> Running in b837b6f349f4
> ---> fd0b8fc5ee22
> Removing intermediate container b837b6f349f4
> Step 14/14 : CMD -u /usr/src/app/app.py
> ---> Running in 232996cc07d9
> ---> 0e5032bc8d1d
> Removing intermediate container 232996cc07d9
> Successfully built 0e5032bc8d1d
> Successfully tagged registry.now.systems/now/0f09615908bf4f19198e2d0978b91c3659c8b431:latest
> ▲ Storing image
> Error! Build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment