Skip to content

Commit

Permalink
Adding examples
Browse files Browse the repository at this point in the history
  • Loading branch information
RECHERGG committed Feb 6, 2023
1 parent f82d92e commit 4c6d40d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM ibm-semeru-runtimes:open-17-jre-focal

WORKDIR /usr/app
COPY ./YourBotName/ /usr/app/

ENTRYPOINT ["java", "-jar", "yourJarFileName.jar"]
12 changes: 12 additions & 0 deletions example/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: '3.8'

services:
yourbotname:
image: yourbotname
env_file:
- token.env
networks:
- default
restart: unless-stopped
networks:
default:
1 change: 1 addition & 0 deletions example/token.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BOT_TOKEN=yourBotToken

0 comments on commit 4c6d40d

Please sign in to comment.