test with 'context: .' for build

This commit is contained in:
Bengt Giger 2020-12-13 19:40:27 +01:00
parent 7a65d80ebd
commit c1b8ea60ee
2 changed files with 2 additions and 4 deletions

View file

@ -48,12 +48,12 @@ jobs:
uses: actions/download-artifact@v2
with:
name: Package
path: target/
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/demo/Dockerfile
push: true
tags: bengig/seb-server:latest

View file

@ -5,9 +5,7 @@ ENV SERVER_PORT="8080"
ENV JMX_PORT="9090"
ENV SERVER_PWD=
COPY target/seb-server-auto.jar /sebserver/seb-server-auto.jar
WORKDIR /sebserver
COPY seb-server-$SEBSERVER_JAR.jar /sebserver/seb-server-$SEBSERVER_JAR.jar
ENTRYPOINT exec java \
-Dcom.sun.management.jmxremote \