Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -8,8 +8,9 @@ RUN wget -qO- -t1 -T2 "https://api.github.com/repos/Calcium-Ion/new-api/releases
|
|
| 8 |
awk -F ":" '{print $2}' | \
|
| 9 |
sed 's/\"//g;s/,//g;s/ //g' > VERSION
|
| 10 |
|
| 11 |
-
#
|
| 12 |
-
RUN find /build -type f -exec sed -i'' 's|/v1|/hf/v1|g' {} +
|
|
|
|
| 13 |
|
| 14 |
WORKDIR /build/web
|
| 15 |
RUN npm install
|
|
|
|
| 8 |
awk -F ":" '{print $2}' | \
|
| 9 |
sed 's/\"//g;s/,//g;s/ //g' > VERSION
|
| 10 |
|
| 11 |
+
# Replace /v1 with /hf/v1 in all files under the relay and router directories
|
| 12 |
+
RUN find /build/router /build/relay -type f -exec sed -i'' 's|/v1|/hf/v1|g' {} +
|
| 13 |
+
|
| 14 |
|
| 15 |
WORKDIR /build/web
|
| 16 |
RUN npm install
|