Update Dockerfile
Browse files12345676 unmodified lines14151617181920FROM node:16 as builderWORKDIR /buildRUN git clone https://github.com/MartialBE/one-api.git .RUN wget -qO- -t1 -T2 "https://api.github.com/repos/MartialBE/one-hub/releases" | \grep "tag_name" | \head -n 1 | \6 unmodified linesWORKDIR /build/webRUN npm installRUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat ../VERSION) npm run buildRUN cat /build/web/src/constants/ChannelConstants.jsFROM golang AS builder212345676 unmodified lines141516171819FROM node:16 as builderWORKDIR /buildRUN git clone https://github.com/MartialBE/one-hub.git .RUN wget -qO- -t1 -T2 "https://api.github.com/repos/MartialBE/one-hub/releases" | \grep "tag_name" | \head -n 1 | \6 unmodified linesWORKDIR /build/webRUN npm installRUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat ../VERSION) npm run buildFROM golang AS builder2
Dockerfile+1-2