I am batman

This commit is contained in:
2026-07-12 20:36:41 -04:00
parent 5a3a6357cf
commit 898231048a
5 changed files with 55 additions and 2 deletions

12
Dockerfile.webrtc Normal file
View File

@@ -0,0 +1,12 @@
FROM golang:1.24.4-alpine AS build
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o webrtc-service cmd/webrtc-service/main.go
FROM alpine:3.20.1 AS prod
WORKDIR /app
COPY --from=build /app/webrtc-service /app/webrtc-service
EXPOSE 4000
CMD ["./webrtc-service"]