Initial commit

This commit is contained in:
skidoodle 2024-05-31 13:35:37 +02:00
commit 9e153ebed3
11 changed files with 1261 additions and 0 deletions

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM golang:alpine as builder
WORKDIR /app
COPY . .
RUN go build -o iphistory .
FROM alpine:latest
RUN apk --no-cache add ca-certificates
WORKDIR /root/
COPY --from=builder /app/iphistory .
COPY --from=builder /app/index.html .
EXPOSE 8080
CMD ["./iphistory"]