Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -2,7 +2,7 @@ FROM node:16 as builder
|
|
2 |
|
3 |
WORKDIR /build
|
4 |
RUN git clone https://github.com/MartialBE/one-api.git .
|
5 |
-
RUN
|
6 |
grep "tag_name" | \
|
7 |
head -n 1 | \
|
8 |
awk -F ":" '{print $2}' | \
|
|
|
2 |
|
3 |
WORKDIR /build
|
4 |
RUN git clone https://github.com/MartialBE/one-api.git .
|
5 |
+
RUN wget -qO- -t1 -T2 "https://api.github.com/repos/MartialBE/one-hub/releases" | \
|
6 |
grep "tag_name" | \
|
7 |
head -n 1 | \
|
8 |
awk -F ":" '{print $2}' | \
|