Skip to content

Commit f560d5c

Browse files
committed
build: clean install node_modules before prod build
1 parent ffd89d4 commit f560d5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ function build() {
1919
echo 'warning: trying to build as CI user, falling back to user 1000'
2020
export DOCKER_USER='1000:1000'
2121
fi
22+
docker-compose -f docker-compose.dev.yml run --rm node rm -rf node_modules
2223
docker-compose -f docker-compose.dev.yml run --rm node npm install
2324
docker-compose -f docker-compose.dev.yml run --rm node npm run build
2425
}

0 commit comments

Comments
 (0)