Skip to content

Commit

Permalink
Rename container name and folder name in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhanmirza committed Jan 17, 2024
1 parent 25c7473 commit 5da314c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -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"

Expand Down

0 comments on commit 5da314c

Please sign in to comment.