demo additionnal content for the future
This commit is contained in:
12
algos-demo/chu-stats-analyzer/Dockerfile
Normal file
12
algos-demo/chu-stats-analyzer/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM golang:1.22-alpine AS builder
|
||||
WORKDIR /app
|
||||
COPY go.mod .
|
||||
COPY main.go .
|
||||
RUN go build -o chu-analyzer .
|
||||
|
||||
FROM alpine:latest
|
||||
RUN apk --no-cache add ca-certificates tzdata
|
||||
RUN mkdir -p /data
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/chu-analyzer /usr/local/bin/chu-analyzer
|
||||
ENTRYPOINT ["chu-analyzer"]
|
||||
Reference in New Issue
Block a user