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

Can you update the documenation? #55

@devSarry

Description

@devSarry

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

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions