first commit
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
FROM golang:1.24.3-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./ /app
|
||||
|
||||
RUN apk add git && \
|
||||
go build -v -o mysubarumq .
|
||||
|
||||
FROM alpine:3.21.3
|
||||
|
||||
COPY --from=builder /app/mysubarumq /usr/local/bin/mysubarumq
|
||||
|
||||
RUN apk add --no-cache tzdata
|
||||
|
||||
ENTRYPOINT ["mysubarumq"]
|
Reference in New Issue
Block a user