init commit
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM registry.jakeyoungdev.com/go/alpine:1.25.3 AS builder
|
||||
WORKDIR /build
|
||||
COPY . /build/
|
||||
RUN go mod download && \
|
||||
GOOS=linux go build ./main.go -o /build/parse
|
||||
|
||||
FROM registry.jakeyoungdev.com/go/alpine:1.25.3
|
||||
COPY --from=builder /app/parser /
|
||||
ENTRYPOINT [ "parser" ]
|
||||
Reference in New Issue
Block a user