Hi,
There are lines at the docker-entrypoint file:
|
elif [ ! -d "node_modules" ] || [ ! "$(ls -qAL node_modules 2>/dev/null)" ]; then |
|
|
|
if [ -f "yarn.lock" ]; then |
|
6D9B
|
|
echo "Node modules not installed. Installing using yarn ..." |
|
yarn install --prod --silent |
|
|
|
else |
|
|
|
echo "Node modules not installed. Installing using npm ..." |
|
npm install -- --silent |
|
|
|
fi |
If we upgrade strapio to the newer version, docker-entrypoint sees that the node_modules folder exists and wont install the upgrades if there are any. How to perform here correctly?
Hi,
There are lines at the docker-entrypoint file:
docker-strapi/images/strapi-alpine/docker-entrypoint.sh
Lines 25 to 37 in 5b24cf8
If we upgrade strapio to the newer version,
docker-entrypointsees that thenode_modulesfolder exists and wont install the upgrades if there are any. How to perform here correctly?