diff --git a/compose.yaml b/compose.yaml index 47a0610f271a7d7f2e24ec38bf44e361c1f922af..b5d7637781b7018d6a5d8d9072dab7e0871714b2 100644 --- a/compose.yaml +++ b/compose.yaml @@ -10,6 +10,11 @@ services: ports: - "8080:8080" + token-grabber: + build: "./token-grabber" + ports: + - "8081:8081" + authorization: build: "./user" ports: diff --git a/token-grabber/Dockerfile b/token-grabber/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..d131222e38617e1c16b7e0e8e265b68f253b1849 --- /dev/null +++ b/token-grabber/Dockerfile @@ -0,0 +1,3 @@ +FROM eclipse-temurin:17-jdk-alpine +COPY target/*.jar /app.jar +ENTRYPOINT ["java", "-jar", "/app.jar"] \ No newline at end of file