Skip to content

Commit

Permalink
remove the magic which update codes only when building a docker image…
Browse files Browse the repository at this point in the history
… with a commit callback (#3188)

Co-authored-by: renmingu <40223865+renmingu@users.noreply.github.com>
  • Loading branch information
rmgogogo and renmingu authored Feb 28, 2020
1 parent 66de9bd commit a6df279
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a6df279

Please sign in to comment.