microsoft / microsoft/SPTAG

Dockerfile doesn't work

Open
#354 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
5k
Forks
622
Avg merge
8h 37m
Merged PRs (30d)
5

Description

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Clone SPTAG.
cd SPTAGE.
Create a file called MyTest.py that imports SPTAG.
run docker build -t sptag . --progress=plain; docker run sptag

Using the Dockerfile. Include thos lines at the end:

RUN apt-get install -y python3

COPY MyTest.py ./Release

CMD ["python3", "./Release/MyTest.py"]

Expected behavior
For it to be able to import SPTAG.

Screenshots
image

Desktop (please complete the following information):
Windows. But it's a docker file at the end.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the repository's Dockerfile and reproduce the reported build and run commands using the issue's MyTest.py example. Check the resulting import failure and Docker build context; the work is done when the container builds and MyTest.py can import SPTAG successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.