Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaridas authored Dec 22, 2023
1 parent 416e246 commit 7744dd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ ARG BRANCH=development
RUN REPO="https://github.com/Stremio/stremio-web.git"; if [ "$BRANCH" == "release" ];then git clone "$REPO" --depth 1 --branch $(git ls-remote --tags --refs $REPO | tail -n1 | cut -d/ -f3); else git clone --depth 1 --branch "$BRANCH" https://github.com/Stremio/stremio-web.git; fi

WORKDIR /srv/stremio-web
# Workaround to run it twice since if it fails because of timeout issues when building container in github
# npm ERR! code ECONNRESET

RUN yarn install --no-audit --no-optional --mutex network --no-progress --ignore-scripts
RUN yarn build

Expand Down

0 comments on commit 7744dd5

Please sign in to comment.