feat: initial commit
This commit is contained in:
commit
942d0fff43
30 files changed
+10458
No files matched your search
+21
@@ -0,0 +1,21 @@
|
||||
FROM golang:1.25-alpine AS builder
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o vk-turn-proxy ./server
|
||||
|
||||
FROM alpine:3.23
|
||||
|
||||
RUN apk add --no-cache ca-certificates tzdata
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY docker-entrypoint.sh .
|
||||
COPY --from=builder /build/vk-turn-proxy .
|
||||
RUN sed -i 's/\r$//' docker-entrypoint.sh && chmod +x docker-entrypoint.sh
|
||||
|
||||
EXPOSE 56000/tcp
|
||||
EXPOSE 56000/udp
|
||||
|
||||
ENTRYPOINT ["./docker-entrypoint.sh"]
|
||||
Reference in new issue
Block a user