mirror of
https://github.com/ivuorinen/go-test-sarif.git
synced 2026-03-01 23:56:00 +00:00
feat: the app (#2)
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM golang:1.21-alpine AS build
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN go build -o /go-test-sarif ./cmd/main.go
|
||||
|
||||
FROM alpine:latest
|
||||
COPY --from=build /go-test-sarif /go-test-sarif
|
||||
COPY action/entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user