Skip to content

Commit

Permalink
Fix Dockerfile (#12)
Browse files Browse the repository at this point in the history
* Fix Dockerfile after gradle update

* Github Actions: check docker image can be built

* Run tests on PR
  • Loading branch information
afk11 authored Feb 17, 2022
1 parent b12b2ff commit 163cfa3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Test
on: [push]
on: [push, pull_request]
jobs:
Assemble:
runs-on: ubuntu-latest
Expand All @@ -8,3 +8,5 @@ jobs:
uses: actions/checkout@v2
- name: Assemble project
run: ./gradlew clean build
- name: Build Docker image
run: docker build . -t paymenthubee.mifos.io/phee/connector-ams-mifos
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM openjdk:13
EXPOSE 5000

COPY target/*.jar .
COPY target/classes/keystore.jks .
COPY build/libs/*.jar .
COPY build/resources/main/keystore.jks .
CMD java -jar *.jar

0 comments on commit 163cfa3

Please sign in to comment.