Add initial project files
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
FROM golang:1.22-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN go build -o docker-manager .
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /app/docker-manager .
|
||||
COPY --from=builder /app/static ./static
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["./docker-manager"]
|
||||
Reference in New Issue
Block a user