diff --git a/build.sh b/build.sh index 19124f4..cde2dda 100644 --- a/build.sh +++ b/build.sh @@ -2,6 +2,7 @@ base=$(cd "$(dirname "$0")";pwd) cd $base docker run -it --rm --name buildOpenRenamer --user ${UID} -v $base/openRenamerFront:/opt/front node:lts-buster-slim bash -c "cd /opt/front && yarn --registry https://registry.npmmirror.com && yarn build" +docker run -it --rm --name buildOpenRenamer -v $base/openRenamerBackend:/app node:lts-buster-slim bash -c "cd /app && npm config set registry=https://registry.npmmirror.com && npm install -g typescript && tsc" rm -rf openRenamerBackend/static/* touch openRenamerBackend/static/.gitkeep