question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Clone the code, download StanfordCoreNLP in DockerFile

See original GitHub issue

Requirement

Eliminate all processes to set up the project - the user should be able to set up the complete project by pulling the image and running docker-compose up

Pre-requisite

  • Intermediate knowledge of Docker

Dependencies

#49

Previous Discussions

Here

Description

  • Dockerfile should have steps to clone the repository and download StanfordCoreNLP.
  • Dockerfile should be pushed to DockerHub with readme.
  • Would require change in the setup documentation.

Modified scope

  • Account for changes in .env file to reflect in config.py while making sure that the code can be run with and without Docker setup

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:36 (35 by maintainers)

github_iconTop GitHub Comments

2reactions
vishakha-lallcommented, Mar 19, 2020

Only thing I found that kinda satisfies what we’re trying to do is Docker App. Something we haven’t discussed and am totally new to. Would we like to try using that? @vishakha-lall @athityakumar @janakrajchadha

Using parameters.yml also looks like a cool way to implement .env

How about we try the current approach, this would require some more study.

2reactions
vishakha-lallcommented, Mar 19, 2020

The .env file will not reside in the codebase. We can add a template to create the same in our repository to help users create it locally. The user would require tp manually create this before running docker-compose up Here’s the documentation around this. With the environment variables set here, we would set the values in config.py. While the file could also be completely done with, it currently has references in other scripts. Depreciating the config.py file will not be a scope of this issue.

@chttrjeankr did you find a workaround of how we could potentially push the docker-compose.yml file to the DockerHub repository? Or do we have an alternate process for this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

stanford-corenlp-docker/Dockerfile at master - GitHub
build/run the most current Stanford CoreNLP server in a docker container ... RUN git clone https://github.com/arne-cl/grepurl.git. WORKDIR /opt/grepurl.
Read more >
Using Stanford CoreNLP with Python and Docker Containers
The first step is to create a Stanford CoreNLP Docker image, so that later on ... Copy and paste the code below and...
Read more >
CoreNLP Server - Stanford NLP Group
CoreNLP includes a simple web API server for servicing your human language understanding needs (starting with version 3.6.0). This page describes how to...
Read more >
Access server running on docker container - Stack Overflow
I am running the StanfordCoreNLP server through my docker container. Now I want to access it through my python script.
Read more >
Browse Earthdata Search Client / edsc-nlp
An opensource project based on CLAVIN and StanfordNLP to help Earthdata Search parse spatial and temporal fields out of plain text. Quick Start....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found