Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
FROM node:16 as builder
|
2 |
|
3 |
WORKDIR /build
|
4 |
-
RUN git clone https://github.com/MartialBE/one-
|
5 |
RUN wget -qO- -t1 -T2 "https://api.github.com/repos/MartialBE/one-hub/releases" | \
|
6 |
grep "tag_name" | \
|
7 |
head -n 1 | \
|
@@ -14,7 +14,6 @@ RUN sed -i'' 's|HasPrefix(path, "/v1|HasPrefix(path, "/api/v1|g' /build/relay/co
|
|
14 |
WORKDIR /build/web
|
15 |
RUN npm install
|
16 |
RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat ../VERSION) npm run build
|
17 |
-
RUN cat /build/web/src/constants/ChannelConstants.js
|
18 |
|
19 |
FROM golang AS builder2
|
20 |
|
|
|
1 |
FROM node:16 as builder
|
2 |
|
3 |
WORKDIR /build
|
4 |
+
RUN git clone https://github.com/MartialBE/one-hub.git .
|
5 |
RUN wget -qO- -t1 -T2 "https://api.github.com/repos/MartialBE/one-hub/releases" | \
|
6 |
grep "tag_name" | \
|
7 |
head -n 1 | \
|
|
|
14 |
WORKDIR /build/web
|
15 |
RUN npm install
|
16 |
RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat ../VERSION) npm run build
|
|
|
17 |
|
18 |
FROM golang AS builder2
|
19 |
|