diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 1ba2e42..f7ead12 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -37,7 +37,7 @@ jobs: uses: gradle/actions/setup-gradle@v3 - name: Build with Gradle - run: ./gradlew distTar + run: ./gradlew buildFatJar - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 diff --git a/Dockerfile b/Dockerfile index 775674f..a16ad53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,4 +11,4 @@ EXPOSE 8080 ADD server/static /app/static ADD server/build/libs/server-all.jar /app -ENTRYPOINT java -jar /app/server-all.jar +CMD java -jar /app/server-all.jar