Skip to content

Commit

Permalink
dockerfile updated with CMD
Browse files Browse the repository at this point in the history
  • Loading branch information
busraarsln committed Nov 10, 2023
1 parent 5cc6569 commit c33cee6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 3 additions & 3 deletions spring-boot/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM maven:3.8.5-eclipse-temurin-17-alpine as builder

COPY build.sh /opt/src/scripts/build.sh
RUN /opt/src/scripts/build.sh

#COPY build.sh /opt/src/scripts/build.sh
#RUN /opt/src/scripts/build.sh
CMD ["/build.sh"]
WORKDIR /src
COPY . .

Expand Down
6 changes: 0 additions & 6 deletions spring-boot/build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
ls
cd home
ls
cd runner
ls
cd work
ls
find . -name "pom.xml" -exec mvn clean -U -B package -DskipTests -f '{}' \;

0 comments on commit c33cee6

Please sign in to comment.