From 5da314ca94de4f310642d9827e749c02eb6b8e34 Mon Sep 17 00:00:00 2001 From: shuhanmirza Date: Wed, 17 Jan 2024 13:09:40 +0600 Subject: [PATCH] Rename container name and folder name in Dockerfile --- Dockerfile/Dockerfile | 2 +- docker-compose.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile/Dockerfile b/Dockerfile/Dockerfile index a3515bf..43a7f89 100644 --- a/Dockerfile/Dockerfile +++ b/Dockerfile/Dockerfile @@ -8,7 +8,7 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repos RUN apk add --no-cache openjdk17 maven WORKDIR /spring-app -COPY SpringBooTex . +COPY SimplePdfGenAPI . RUN mvn clean install CMD mvn spring-boot:run diff --git a/docker-compose.yaml b/docker-compose.yaml index 65a2677..96c69e7 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,12 +1,12 @@ version: '3.1' services: - springbootex: + simplepdfgenapi: build: context: . dockerfile: Dockerfile/Dockerfile restart: unless-stopped - container_name: "springbootex" + container_name: "SimplePdfGenAPI" ports: - "10800:10800"