3 changed files with 28 additions and 1 deletions
@ -0,0 +1,9 @@ |
|||
version: '2' |
|||
services: |
|||
# Container myapp |
|||
web: |
|||
image: arthur/api-rest-b2boost |
|||
build: . |
|||
ports: |
|||
- "8080:8080" |
|||
restart: "unless-stopped" |
@ -0,0 +1,4 @@ |
|||
FROM openjdk:11-jre-slim |
|||
ARG JAR_FILE=dist/*.jar |
|||
COPY ${JAR_FILE} app.jar |
|||
ENTRYPOINT ["java","-jar","/app.jar"] |
Loading…
Reference in new issue