mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-21 15:06:38 +02:00
fab080f16a
Updates to Docker build: * Alpine 1.13, * usrsctp 70d42ae95a1de83bd317c8cc9503f894671d1392 * libsrtp 2.3.0 * Janus 0.11.1 * Added libogg-dev * Nats 2.2.1 * golang 1.16 Co-authored-by: root <root@kleener.eu>
19 lines
455 B
Docker
19 lines
455 B
Docker
FROM golang:1.16 AS builder
|
|
|
|
RUN apt-get update && apt-get install -y python3
|
|
WORKDIR /workdir
|
|
|
|
COPY . .
|
|
RUN make build
|
|
|
|
FROM alpine:3.13
|
|
|
|
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"]
|