File size: 487 Bytes
d3b9181 c14d3fe b853e31 d3b9181 9eea308 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | FROM alpine:latest
# Install curl to grab the latest GOST release
RUN apk add --no-cache curl bash
# Download and install GOST (Go Simple Tunnel)
RUN curl -L https://github.com/ginuerzh/gost/releases/download/v2.11.5/gost-linux-amd64-2.11.5.gz | gunzip > /usr/bin/gost \
&& chmod +x /usr/bin/gost
# Expose Hugging Face's required port
EXPOSE 7860
# Start GOST using the official inline authentication layout
CMD ["sh", "-c", "gost -L=http+ws://${PROXY_USER}:${PROXY_PASS}@:7860"] |