- Go application with embedded static files for dump1090 frontend - TCP client for SBS-1/BaseStation format (port 30003) - Real-time WebSocket updates with aircraft tracking - Modern web frontend with Leaflet maps and mobile-responsive design - Aircraft table with filtering/sorting and statistics dashboard - Origin configuration for receiver location and distance calculations - Automatic config.json loading from current directory - Foreground execution by default with optional -daemon flag 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
No EOL
292 B
Docker
18 lines
No EOL
292 B
Docker
FROM golang:1.24-alpine AS builder
|
|
|
|
WORKDIR /app
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
|
|
COPY . .
|
|
RUN go build -ldflags="-w -s" -o skyview .
|
|
|
|
FROM alpine:latest
|
|
RUN apk --no-cache add ca-certificates tzdata
|
|
WORKDIR /root/
|
|
|
|
COPY --from=builder /app/skyview .
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["./skyview"] |