mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 02:18:44 -07:00
17 lines
432 B
Docker
17 lines
432 B
Docker
FROM alpine
|
|
ARG TARGETARCH
|
|
|
|
EXPOSE 8080
|
|
|
|
RUN apk add --no-cache ca-certificates su-exec curl
|
|
ENV PUID=1000 PGID=1000 MAXMIND_KEY=
|
|
|
|
RUN mkdir /var/strelaypoolsrv && chown 1000 /var/strelaypoolsrv
|
|
USER 1000
|
|
|
|
COPY strelaypoolsrv-linux-${TARGETARCH} /bin/strelaypoolsrv
|
|
COPY script/strelaypoolsrv-entrypoint.sh /bin/entrypoint.sh
|
|
|
|
WORKDIR /var/strelaypoolsrv
|
|
ENTRYPOINT ["/bin/entrypoint.sh", "/bin/strelaypoolsrv", "-listen", ":8080"]
|