From 7b204cd81a329964e7eba2f7f3a25fe8e21672b9 Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Tue, 27 Aug 2024 20:13:27 +0700 Subject: [PATCH] Create Dockerfile --- scalability/docker/Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 scalability/docker/Dockerfile diff --git a/scalability/docker/Dockerfile b/scalability/docker/Dockerfile new file mode 100644 index 000000000..86fb1f8d2 --- /dev/null +++ b/scalability/docker/Dockerfile @@ -0,0 +1,9 @@ +FROM openjdk:8 + +WORKDIR /app + +COPY target/pi-nexus-api.jar /app/ + +EXPOSE 8080 + +CMD ["java", "-jar", "pi-nexus-api.jar"]