ResumeParser icon indicating copy to clipboard operation
ResumeParser copied to clipboard

Dockerfile incorporated for exposing the API

Open argoyal opened this issue 6 years ago • 5 comments

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

argoyal avatar Jan 11 '18 15:01 argoyal

Thanks a lot

gowthamgts avatar Feb 10 '18 18:02 gowthamgts

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

tamer-hassan avatar Dec 13 '18 02:12 tamer-hassan

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.

argoyal avatar Dec 13 '18 20:12 argoyal

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.

argoyal avatar Jan 20 '19 16:01 argoyal

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

Akashtyagi avatar Nov 21 '20 13:11 Akashtyagi

@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.

argoyal avatar Feb 21 '24 05:02 argoyal