Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.

Can you update the documenation? #55

Open
devSarry opened this issue Nov 8, 2021 · 1 comment
Open

Can you update the documenation? #55

devSarry opened this issue Nov 8, 2021 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@devSarry
Copy link

devSarry commented Nov 8, 2021

Can you please update the readme to reflect how to get started. What docker commands to use and how to pull the image.

The example posted on the spcay website gives an error

$ docker run --rm -dp 8080:8080 neelkamath/spacy-server
Unable to find image 'neelkamath/spacy-server:latest' locally
docker: Error response from daemon: manifest for neelkamath/spacy-server:latest
not found: manifest unknown: manifest unknown.
See 'docker run --help'.

Trying to build from the docker file gives another error

$ docker build -f docker/Dockerfile -t spacy .
[+] Building 0.1s (12/12) FINISHED
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 32B                                        0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 34B                                           0.0s
 => [internal] load metadata for docker.io/library/python:3.8              0.0s
 => [base 1/7] FROM docker.io/library/python:3.8                           0.0s
 => [internal] load build context                                          0.0s
 => => transferring context: 92B                                           0.0s
 => CACHED [base 2/7] WORKDIR /app                                         0.0s
 => CACHED [base 3/7] COPY requirements.txt .                              0.0s
 => CACHED [base 4/7] RUN pip install --no-cache-dir -r requirements.txt   0.0s
 => CACHED [base 5/7] RUN python -m spacy download                         0.0s
 => CACHED [base 6/7] COPY src/main.py src/main.py                         0.0s
 => CACHED [base 7/7] RUN useradd user                                     0.0s
 => ERROR [stage-1 1/1] COPY src/s2v_old/ src/s2v_old/                     0.0s
------
 > [stage-1 1/1] COPY src/s2v_old/ src/s2v_old/:
------
failed to compute cache key: "/src/s2v_old" not found: not found
@neelkamath
Copy link
Owner

The spaCy website docs are outdated, yes. However, you needn't build the Docker image yourself. Clicking on the Usage section/link on the README takes you to the Docker Hub page that documents the commands along with examples.

@neelkamath neelkamath self-assigned this Nov 17, 2021
@neelkamath neelkamath added documentation Improvements or additions to documentation question Further information is requested labels Nov 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants