needed to make shell scripts executable

dos2unix is your friend.
This commit is contained in:
michaelpede 2021-03-19 13:24:53 -07:00
parent 582016b826
commit 971a40cfed
3 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,5 @@
FROM java:8
#COPY /build/reso.jar
COPY ./temp/spring-server-generated/target/swagger-spring-1.0.0.jar reso.jar
ENTRYPOINT ["java","-jar","reso.jar"]

View File

@ -1,3 +1,9 @@
#!/bin/bash
docker-compose build
unzip temp/resources/spring-server-generated.zip -d temp/spring-server-generated
mvn -f temp/spring-server-generated compile
mvn -f temp/spring-server-generated package
docker-compose build
rm -rf temp/spring-server-generated

2
run.sh
View File

@ -1,3 +1,3 @@
#!/bin/bash
docker-compose up
docker-compose up