Skip to content

Commit

Permalink
feat: add hysteria2 to the docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
khodedawsh committed Aug 1, 2024
1 parent ef9d2f8 commit 18137d5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
FROM python:3.11-alpine
FROM tobyxdd/hysteria:v2 AS hysteria-image

ENV PYTHONUNBUFFERED 1
FROM python:3.12-alpine

ENV PYTHONUNBUFFERED=1

COPY --from=hysteria-image /usr/local/bin/hysteria /usr/local/bin/hysteria

WORKDIR /app

Expand All @@ -14,4 +18,4 @@ RUN curl -L https://raw.githubusercontent.com/XTLS/alpinelinux-install-xray/main

RUN apk add --no-cache alpine-sdk libffi-dev && pip install --no-cache-dir -r /app/requirements.txt && apk del -r alpine-sdk libffi-dev curl unzip

CMD ["python3", "marznode.py"]
CMD ["python3", "marznode.py"]

0 comments on commit 18137d5

Please sign in to comment.