mirror of
https://github.com/strukturag/nextcloud-spreed-signaling.git
synced 2025-04-11 22:31:19 +00:00
17 lines
406 B
Docker
17 lines
406 B
Docker
FROM golang:1.18 AS builder
|
|
|
|
WORKDIR /workdir
|
|
|
|
COPY . .
|
|
RUN make build
|
|
|
|
FROM alpine:3.15
|
|
|
|
ENV CONFIG=/config/server.conf
|
|
RUN adduser -D spreedbackend && \
|
|
apk add --no-cache ca-certificates libc6-compat libstdc++
|
|
USER spreedbackend
|
|
COPY --from=builder /workdir/bin/signaling /usr/local/signaling
|
|
COPY ./server.conf.in /config/server.conf
|
|
|
|
CMD ["/bin/sh", "-c", "/usr/local/signaling --config=$CONFIG"]
|