Files
docker-manager/Dockerfile
T
2026-04-24 15:36:53 -03:00

21 lines
290 B
Docker

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"]