mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-16 12:45:14 +02:00
19 lines
466 B
Docker
19 lines
466 B
Docker
|
FROM golang:1.13 AS builder
|
||
|
|
||
|
RUN apt-get update && apt-get install -y python3
|
||
|
WORKDIR /workdir
|
||
|
|
||
|
COPY . .
|
||
|
RUN make build
|
||
|
|
||
|
FROM alpine:3.11
|
||
|
|
||
|
ENV CONFIG=/config/server.conf
|
||
|
RUN adduser -D spreedbackend && \
|
||
|
apk add --no-cache --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"]
|