diff --git a/.github/workflows/publish-image-bpn-discovery.yml b/.github/workflows/publish-image-bpn-discovery.yml index 71d723b..10e54a0 100644 --- a/.github/workflows/publish-image-bpn-discovery.yml +++ b/.github/workflows/publish-image-bpn-discovery.yml @@ -59,19 +59,6 @@ jobs: - name: install dependencies working-directory: ./.github/actions/generate-dependencies-notice run: npm install - - name: baselayer-licenses - uses: philips-labs/tern-action@v1.1.0 - with: - image: eclipse-temurin:17-jre-alpine - format: json - output: ./base-image-layers.json - - name: dependency-licenses - uses: ./.github/actions/generate-dependencies-notice - with: - version: ${{ github.ref_name }} - base-path: ${{ github.workspace }} - maven-deps-path: ./backend/maven.deps - base-image-layers-path: ./base-image-layers.json - name: Docker meta id: meta uses: docker/metadata-action@v4 diff --git a/backend/Dockerfile b/backend/Dockerfile index ebb4db1..8c93a10 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -40,6 +40,8 @@ WORKDIR /service COPY --from=builder /build/backend/target/bpn-discovery-backend*.jar app.jar +COPY LICENSE NOTICE.md DEPENDENCIES SECURITY.md /legal/ + ENV JAVA_TOOL_OPTIONS "-Xms512m -Xmx2048m" EXPOSE 4243