Skip to content

Commit

Permalink
fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jsixface committed Mar 8, 2024
1 parent f599856 commit c883aa1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: server
context: "{{defaultContext}}:server"
file: Dockerfile
push: true
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
# cache-from: type=gha
# cache-to: type=gha,mode=max
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV BIND=0.0.0.0
WORKDIR /app
EXPOSE 8080

ADD static /app/static
ADD build/libs/server-all.jar /app
ADD ./static /app/static
ADD ./build/libs/server-all.jar /app

ENTRYPOINT java -jar /app/server-all.jar

0 comments on commit c883aa1

Please sign in to comment.