mirror of
https://github.com/HypoxiE/docker-compose-3x-ui.git
synced 2025-12-06 05:45:58 +00:00
first commit
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM debian:stable-slim
|
||||
|
||||
# Установим утилиты для скачивания и распаковки
|
||||
RUN apt-get update && apt-get install -y wget tar ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /opt/3x-ui
|
||||
|
||||
# Скачиваем и распаковываем конкретный релиз
|
||||
RUN wget https://github.com/MHSanaei/3x-ui/releases/download/v1.8.3/3x-ui-linux-amd64.tar.gz \
|
||||
&& tar -xvf 3x-ui-linux-amd64.tar.gz --strip-components=1 \
|
||||
&& rm 3x-ui-linux-amd64.tar.gz \
|
||||
&& chmod +x 3x-ui
|
||||
|
||||
EXPOSE 54321
|
||||
|
||||
CMD ["./3x-ui"]
|
||||
Reference in New Issue
Block a user