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