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 incorporated for exposing the API #36

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

argoyal
Copy link

@argoyal argoyal commented Jan 11, 2018

Created an endpoint in Flask to expose the service over network.

@gowthamgts
Copy link

Thanks a lot

@tamer-hassan
Copy link

tamer-hassan commented Dec 13, 2018

The gist is no longer, so the following docker build step will certainly fail:

RUN wget -O 'parser_api.py' 'https://gist.githubusercontent.com/arpitgoyalhtmedia/1ebda74744bf0076c872b7d92b723bd6/raw/406b82dd0400f1769fe970b11b7cd218e77dd19a/parser_api.py'

So I have to pull your prebuilt docker hub image

docker pull spotmentor/parser-api

to get the source now. :(

Edit:
Just noticed your github username changed since, so I renamed it in the url and now I can get the source. Thanks a lot!

https://gist.githubusercontent.com/argoyal/1ebda74744bf0076c872b7d92b723bd6/raw/406b82dd0400f1769fe970b11b7cd218e77dd19a/parser_api.py

@argoyal
Copy link
Author

argoyal commented Dec 13, 2018

Just noticed your github username changed since, so I renamed it in the url and now I can get the source. Thanks a lot!

I will update the Dockerfile with the new URL. Thanks.

changed the url for gist
@argoyal
Copy link
Author

argoyal commented Jan 20, 2019

Hello everyone on this thread, I have updated the Dockerfile with the latest URL to the gist. I haven't raised a pull request further because the previous pull request is still pending. You can get the Dockerfile from my forked repository.

@Akashtyagi
Copy link

@argoyal Hey, I tried to pull the dockerfile, but i am getting permission denied error !

@argoyal
Copy link
Author

argoyal commented Feb 21, 2024

@Akashtyagi minor correction, you pull a docker image and not a docker file and I understand that you are unable to pull that docker image. The reason is that docker's official hub changed guidelines for an organization in 2023 so we had to remove all the repositories hosted there. "spotmentor" was configured as an organization and therefore you are not able to pull spotmentor/parser-api anymore.

You can still clone the entire repository and try and run

sudo docker build -t parser-api to build the Docker image locally.

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

Successfully merging this pull request may close these issues.

4 participants