mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
Update Dockerfile
This commit is contained in:
parent
2d6f2db81e
commit
00fadf2a18
@ -16,12 +16,12 @@ RUN set -ex \
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
LABEL maintainer="Teddysun <i@teddysun.com>"
|
LABEL maintainer="Teddysun <i@teddysun.com>"
|
||||||
|
|
||||||
RUN set -ex \
|
|
||||||
&& apk add --no-cache curl tzdata
|
|
||||||
|
|
||||||
COPY entrypoint.sh /
|
COPY entrypoint.sh /
|
||||||
COPY --from=builder /root/MTProxy/objs/bin/mtproto-proxy /usr/bin
|
COPY --from=builder /root/MTProxy/objs/bin/mtproto-proxy /usr/bin
|
||||||
|
|
||||||
|
RUN set -ex \
|
||||||
|
&& apk add --no-cache curl tzdata \
|
||||||
|
&& chmod 755 /entrypoint.sh
|
||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai
|
||||||
EXPOSE 443 2398
|
EXPOSE 443 2398
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
@ -16,12 +16,12 @@ RUN set -ex \
|
|||||||
FROM --platform=${TARGETPLATFORM} alpine:latest
|
FROM --platform=${TARGETPLATFORM} alpine:latest
|
||||||
LABEL maintainer="Teddysun <i@teddysun.com>"
|
LABEL maintainer="Teddysun <i@teddysun.com>"
|
||||||
|
|
||||||
RUN set -ex \
|
|
||||||
&& apk add --no-cache curl tzdata
|
|
||||||
|
|
||||||
COPY entrypoint.sh /
|
COPY entrypoint.sh /
|
||||||
COPY --from=builder /root/MTProxy/objs/bin/mtproto-proxy /usr/bin
|
COPY --from=builder /root/MTProxy/objs/bin/mtproto-proxy /usr/bin
|
||||||
|
|
||||||
|
RUN set -ex \
|
||||||
|
&& apk add --no-cache curl tzdata \
|
||||||
|
&& chmod 755 /entrypoint.sh
|
||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai
|
||||||
EXPOSE 443 2398
|
EXPOSE 443 2398
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user