jbot
jbot copied to clipboard
Dockerfile for JBot-example
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
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 .
docker run -it -p 8080:8080 testjbot
Here is the effect in my bot