Update Dockerfile
Browse files12345678910111213FROM node:16 as builderWORKDIR /appRUN git clone https://github.com/MartialBE/one-api.git .RUN sed -i'' 's|router.Group("/v1|router.Group("/api/v1|g' /app/router/relay-router.goWORKDIR /buildRUN git clone https://github.com/MartialBE/one-api.git .RUN sed -i'' 's|router.Group("/v1|router.Group("/api/v1|g' /build/router/relay-router.goCOPY ./web/package.json .RUN npm installRUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build123456789FROM node:16 as builderWORKDIR /buildRUN git clone https://github.com/MartialBE/one-api.git .RUN sed -i'' 's|router.Group("/v1|router.Group("/api/v1|g' /build/router/relay-router.goCOPY /build/web/package.json /buildRUN npm installRUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build
Dockerfile+1-5