Skip to content

Commit

Permalink
fix:[infra] add dockerfile and update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Urban committed Sep 23, 2023
1 parent 969bdfb commit 6494286
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
with:
context: .
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/webcv:${{ env.BRANCH_NAME }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/cardmaster:${{ env.BRANCH_NAME }}
release:
needs: build-docker
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ out/


secrets.conf
../src/main/resources/dist
src/main/resources/dist
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM openjdk:17
LABEL authors="Bjoern Urban"
EXPOSE 8080:8080
RUN mkdir /app
COPY src/build/libs/*.jar /app/
ENTRYPOINT ["java","-jar","/app/cardmaster-all.jar"]

0 comments on commit 6494286

Please sign in to comment.