eindelijk weer eens een push
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
FROM golang:1.22-alpine AS builder
|
||||
WORKDIR /app
|
||||
COPY main.go .
|
||||
RUN go mod init aangifte && go build -o aangifte .
|
||||
|
||||
FROM alpine:3.19
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/aangifte .
|
||||
EXPOSE 8080
|
||||
CMD ["./aangifte"]
|
||||
Reference in New Issue
Block a user