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.

How to run jovo from Docker

See original GitHub issue

I’m submitting a…

  • Bug report
  • Feature request
  • Documentation issue or request
  • Other… Please describe: Docker support for Jovo

Expected Behavior

Jovo run should work while running as docker image file

Current Behavior

Build Docker image for Jovo Application and trying to run as docker. It fails. ###My Docker File FROM node:carbon

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm install

COPY . .

EXPOSE 3000

CMD [ “jovo”, “run” ]

Error log

docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"jovo\": executable file not found in $PATH": unknown.

Your Environment

  • Jovo Framework version used: “^1.2.1”* Operating System: Windows/Linux

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sreedharan-chandracommented, Jul 31, 2018

@aswetlow @jankoenig ,

Thanks for your response. I’m able to resolve this issue. CMD [ “node”, “index.js”, “–webhook” ] - solves the issue and to access , use the deployed server IP and Port mentioned specified in the docker file.

In this case, the Docker Run Command will be,

docker run -d -p 3000:3000 [-e ENV_VAR=‘value’] DOCKER_IMAGE_NAME

0reactions
aswetlowcommented, Jul 30, 2018

How do you access your Docker from outside? You can use the same IP + Port 3000

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to run jovo from Docker · Issue #203 - GitHub
Build Docker image for Jovo Application and trying to run as docker. It fails. ###My Docker File FROM node:carbon. WORKDIR /usr/src/app. COPY ...
Read more >
Jovo Examples
Run a chatbot built with Jovo, Vue.js, and Snips NLU with a single command using Docker. Community. Helpful code repositories shared by Jovo...
Read more >
omenocal/jovo-deploy - Docker Image
Docker image to use in CI/CD pipelines to push your Jovo project using the Jovo CLI. ... Docker Pull Command. docker pull omenocal/jovo-deploy....
Read more >
Jovo CLI With GitHub Actions CI/CD | by Octavio Menocal
In this article, I'll show you how to set up GitHub Actions to do continuous integration/continuous deployment (CI/CD) with Jovo.
Read more >
How to use the jovo-framework.Jovo.toIntent function in ... - Snyk
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues...
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