Dockerfile doesn't work
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

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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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