Skip to content

Commit 50a7451

Browse files
authored
Include docker files
1 parent e5fcb45 commit 50a7451

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM amazoncorretto:21
2+
3+
RUN mkdir /bot
4+
COPY radio-1.0-SNAPSHOT.jar /bot
5+
6+
ENTRYPOINT ["java", "-jar", "/bot/radio-1.0-SNAPSHOT.jar"]

docker-compose.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
services:
2+
radio:
3+
build:
4+
context: .
5+
dockerfile: Dockerfile
6+
restart: always
7+
volumes:
8+
- /opt/dockerfiles/radio:/bot

0 commit comments

Comments
 (0)