Update dockerfile and actions

This commit is contained in:
Alireza Ahmadi
2023-04-18 09:30:53 +02:00
parent f4f8c0d6df
commit d7074cc3c9
2 changed files with 9 additions and 3 deletions

View File

@@ -11,6 +11,12 @@ ENV TZ=Asia/Tehran
WORKDIR /app
RUN apk add ca-certificates tzdata && mkdir bin
# Download latest rule files
ADD https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat \
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat \
bin/
COPY --from=builder /app/main /app/x-ui
VOLUME [ "/etc/x-ui" ]
CMD [ "./x-ui" ]