Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 4 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
FROM python:3.6.3-jessie
FROM python:3.6.7-jessie

ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8

WORKDIR /stage

# Install base packages.
RUN apt-get update --fix-missing && apt-get install -y \
bzip2 \
ca-certificates \
curl \
gcc \
git \
libc-dev \
libglib2.0-0 \
libsm6 \
libxext6 \
libxrender1 \
wget \
libevent-dev \
build-essential && \
RUN apt-get update --fix-missing && \
apt-get install -y curl && \
rm -rf /var/lib/apt/lists/*

# Install npm
Expand All @@ -37,5 +25,4 @@ COPY bin/ bin/
# Demo port
EXPOSE 8080


CMD ["/bin/bash"]
CMD ["bin/serve"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

To run the demo using Docker, run:
```
docker run -p 8080:8080 -it markn/spacy-vis bash bin/serve
docker run -p 8080:8080 -it markn/spacy-vis
```

and then navigate to `localhost:8080` in your browser. The docker image is
Expand Down Expand Up @@ -41,7 +41,7 @@ pip install -r displacy/requirements.txt
Now to run the demo, run the following.

```
bash bin/serve
./bin/serve
```

You may need to force refresh your web browser.
Expand Down
Empty file modified bin/serve
100644 → 100755
Empty file.