From a6df27971b1e2edb2c3da251ab51e78db04f9446 Mon Sep 17 00:00:00 2001 From: Renmin Date: Fri, 28 Feb 2020 16:42:38 +0800 Subject: [PATCH] remove the magic which update codes only when building a docker image with a commit callback (#3188) Co-authored-by: renmingu <40223865+renmingu@users.noreply.github.com> --- frontend/Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index a9b7e9ba74e..f66ede5d41b 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -11,10 +11,6 @@ COPY . . WORKDIR ./frontend -# Pin getting started page links to the commit that built the frontend image -RUN sed -E "s#/(blob|tree)/master/#/\1/${COMMIT_HASH}/#g" -i src/pages/GettingStarted.tsx && \ - sed -E "s#/(blob|tree)/master/#/\1/${COMMIT_HASH}/#g" -i src/pages/GettingStarted.test.tsx - RUN npm ci && npm run postinstall RUN npm run build