updating dockerfile for best practices
Build and Push Docker Image / build (push) Successful in 29s

This commit is contained in:
2026-05-10 22:34:59 -05:00
parent 3799c3df33
commit dd81fcff6f
3 changed files with 20 additions and 1 deletions
+14
View File
@@ -13,6 +13,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
# - name: Run Trivy vulnerability scanner in repo mode
# uses: aquasecurity/trivy-action@v0.36.0
# with:
# scan-type: 'fs'
# ignore-unfixed: true
# format: 'sarif'
# output: 'trivy-results.sarif'
# severity: 'CRITICAL'
# - name: Upload Trivy scan results to GitHub Security tab
# uses: github/codeql-action/upload-sarif@v4
# with:
# sarif_file: 'trivy-results.sarif'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
+3
View File
@@ -0,0 +1,3 @@
{
"trivy.secretScanning": true
}
+3 -1
View File
@@ -1,6 +1,8 @@
FROM mcr.microsoft.com/powershell
USER 1000:1000
WORKDIR /data
ADD ["Start-DoneTickNotifier.ps1", "/data/"]
COPY ["Start-DoneTickNotifier.ps1", "/data/"]
ENTRYPOINT ["pwsh", "-Command", "/data/Start-DoneTickNotifier.ps1"]