smgc commited on
Commit
ddae2e8
1 Parent(s): 88099f7

Update Dockerfile

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