build version check
Some checks failed
Build and Push Version Check Action / build (push) Failing after 4m33s
Some checks failed
Build and Push Version Check Action / build (push) Failing after 4m33s
This commit is contained in:
13
version-check/Dockerfile
Normal file
13
version-check/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
# Build the binary
|
||||
FROM denoland/deno:latest AS builder
|
||||
|
||||
WORKDIR /src
|
||||
COPY main.ts .
|
||||
|
||||
RUN deno compile --allow-read --allow-run --output version-check main.ts
|
||||
|
||||
# Final image
|
||||
FROM alpine:latest
|
||||
COPY --from=builder /src/version-check /usr/local/bin/version-check
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/version-check"]
|
Reference in New Issue
Block a user