From 734f2e21fd2360b5add29f185b1694cef1e75434 Mon Sep 17 00:00:00 2001 From: EunChanNam Date: Wed, 29 Nov 2023 13:26:09 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20yml=20=EC=84=A4=EC=A0=95=20=EC=98=A4?= =?UTF-8?q?=ED=83=88=EC=9E=90=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/docker-compose.yml | 4 +++- docker/server/Dockerfile-server | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index fe0e49a..ab6e079 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -5,9 +5,11 @@ services: context: ./ dockerfile: server/Dockerfile-server image: eunchannam/we-share-wish-hair:latest + platform: linux/amd64 redis: build: context: ./ dockerfile: redis/Dockerfile-redis - image: eunchannam/we-share-wish-hair:redis \ No newline at end of file + image: eunchannam/we-share-wish-hair:redis + platform: linux/amd64 diff --git a/docker/server/Dockerfile-server b/docker/server/Dockerfile-server index 1517f23..dcfc9cf 100644 --- a/docker/server/Dockerfile-server +++ b/docker/server/Dockerfile-server @@ -1,4 +1,4 @@ FROM openjdk:17-alpine -ARG JAR_PATH=build/libs/*.jar +ARG JAR_PATH=/build/libs/*.jar COPY ${JAR_PATH} /home/server.jar ENTRYPOINT ["java", "-Dspring.profiles.active=prod", "-jar","/home/server.jar"] \ No newline at end of file