smgc commited on
Commit
dcfccd5
1 Parent(s): 3f830f9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -7,7 +7,7 @@ RUN sed -i'' 's|router.Group("/v1|router.Group("/api/v1|g' /app/router/relay-rou
7
  WORKDIR /build
8
  RUN git clone https://github.com/MartialBE/one-api.git .
9
  RUN sed -i'' 's|router.Group("/v1|router.Group("/api/v1|g' /build/router/relay-router.go
10
- COPY /build/web/package.json .
11
  RUN npm install
12
  RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build
13
 
 
7
  WORKDIR /build
8
  RUN git clone https://github.com/MartialBE/one-api.git .
9
  RUN sed -i'' 's|router.Group("/v1|router.Group("/api/v1|g' /build/router/relay-router.go
10
+ COPY ./web/package.json .
11
  RUN npm install
12
  RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build
13