proxy / Dockerfile
arcane-nx's picture
Update Dockerfile
9eea308 verified
raw
history blame contribute delete
487 Bytes
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"]