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 for JBot-example #169

Open
Elfilali-Taoufiq opened this issue Mar 4, 2020 · 1 comment
Open

Dockerfile for JBot-example #169

Elfilali-Taoufiq opened this issue Mar 4, 2020 · 1 comment

Comments

@Elfilali-Taoufiq
Copy link

Elfilali-Taoufiq commented Mar 4, 2020

Hi everyone, i'm trying to build a dockerfile for the project jbot-example , the project is working fine in local, but when i build the dockerfile i have this Issue:

Could not find artifact me.ramswaroop.jbot:jbot:jar:4.1.2-rc.3-SNAPSHOT

any help please

@Elfilali-Taoufiq Elfilali-Taoufiq changed the title Dockerfile for JBot example Dockerfile for JBot-example Mar 4, 2020
@Lionelsy
Copy link

Lionelsy commented May 30, 2020

Hey, bro.

Here I made a dockerfile and run jbot in another way.

And the dockerfile is here

First I packaged the jbot-example with
mvn install -Dmaven.test.skip=true

So you can find the .jar file of jbot-example in target directory.
Then copying the .jar file and dockerfile to a same directory.
After cp to the directory and run the following commands:

docker build -t testjbot .
Screen Shot 2020-05-31 at 01 13 44

docker run -it -p 8080:8080 testjbot
Screen Shot 2020-05-31 at 01 14 01

Here is the effect in my bot
Screen Shot 2020-05-31 at 01 15 20

This was referenced May 30, 2020
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

2 participants