jbot icon indicating copy to clipboard operation
jbot copied to clipboard

Dockerfile for JBot-example

Open Elfilali-Taoufiq opened this issue 4 years ago • 1 comments

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 avatar Mar 04 '20 13:03 Elfilali-Taoufiq

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

Lionelsy avatar May 30 '20 17:05 Lionelsy