unignore files that should be there

This commit is contained in:
2025-11-22 20:12:55 +00:00
parent ef51382760
commit 86cf8b2e35
5 changed files with 395 additions and 47 deletions

35
Dockerfile.relay-tester Normal file
View File

@@ -0,0 +1,35 @@
# Dockerfile for relay-tester
FROM golang:1.21-alpine AS builder
# Install build dependencies
RUN apk add --no-cache git
# Set working directory
WORKDIR /build
# Copy go mod files
COPY go.mod go.sum ./
RUN go mod download
# Copy source code
COPY . .
# Build the relay-tester binary
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o relay-tester ./cmd/relay-tester
# Runtime stage
FROM alpine:latest
RUN apk add --no-cache ca-certificates
WORKDIR /app
COPY --from=builder /build/relay-tester /app/relay-tester
# Default relay URL (can be overridden)
ENV RELAY_URL=ws://orly:3334
# Run the relay tester
ENTRYPOINT ["/app/relay-tester"]
CMD ["-url", "${RELAY_URL}"]