Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile doesn't work #354

Open
igaloly opened this issue Feb 2, 2023 · 0 comments
Open

Dockerfile doesn't work #354

igaloly opened this issue Feb 2, 2023 · 0 comments

Comments

@igaloly
Copy link

igaloly commented Feb 2, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant