across/docker/brook/Dockerfile

21 lines
456 B
Docker
Raw Normal View History

2019-10-28 21:27:10 +09:00
# Dockerfile for Brook based alpine
2020-02-19 21:39:43 +09:00
# Copyright (C) 2019 - 2020 Teddysun <i@teddysun.com>
2019-10-28 21:27:10 +09:00
# Reference URL:
# https://github.com/txthinking/brook
FROM alpine:latest
LABEL maintainer="Teddysun <i@teddysun.com>"
2020-02-19 21:39:43 +09:00
WORKDIR /root
COPY brook.sh /root/brook.sh
RUN set -ex \
&& apk add --no-cache tzdata \
&& chmod +x /root/brook.sh \
&& /root/brook.sh \
&& rm -fv /root/brook.sh
2019-10-28 21:27:10 +09:00
2020-02-19 21:39:43 +09:00
ENV TZ=Asia/Shanghai
2019-10-30 22:28:44 +09:00
ENV ARGS="server -l :9000 -p password0"
2019-10-28 21:27:10 +09:00
2019-11-01 22:09:19 +09:00
CMD brook $ARGS