parent
9e38a09e49
commit
b409d9deb0
@ -0,0 +1,4 @@
|
||||
FROM openjdk:8-jdk
|
||||
COPY myspringboot.jar /usr/local
|
||||
WORKDIR /usr/local
|
||||
CMD java -jar myspringboot.jar
|
@ -0,0 +1,8 @@
|
||||
version: '3.1'
|
||||
services:
|
||||
mytest:
|
||||
build: .
|
||||
image: mytest:v1.0.0
|
||||
container_name: mytest
|
||||
ports:
|
||||
- "8088:8080"
|
Loading…
Reference in new issue