Initialize project with DIUN Webhook Dashboard: core Go app, Docker setup, static assets, and documentation.
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM golang:1.26-alpine AS builder
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN go build -o app
|
||||
|
||||
FROM alpine:latest
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/app .
|
||||
COPY static ./static
|
||||
EXPOSE 8080
|
||||
CMD ["./app"]
|
||||
Reference in New Issue
Block a user