diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b9e36c2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM openjdk:17-alpine +ARG JAR_FILE=build/libs/*.jar +COPY ${JAR_FILE} app_auth.jar +ENTRYPOINT ["java","-jar","/app_auth.jar"] \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..5e15808 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,18 @@ +version: '3' +services: + web: + container_name: service + image: sunwupark/meme-service + expose: + - 8080 + ports: + - "8080:8080" + + auth: + container_name: auth + image: sunwupark/meme-auth + expose: + - 8081 + ports: + - "8081:8081" +