mirror of
https://github.com/skidoodle/iphistory.git
synced 2026-04-28 15:57:36 +02:00
Initial commit
This commit is contained in:
+12
@@ -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"]
|
||||
Reference in New Issue
Block a user