- 
                Notifications
    
You must be signed in to change notification settings  - Fork 53
 
Open
Description
Hi,
There are lines at the docker-entrypoint file:
docker-strapi/images/strapi-alpine/docker-entrypoint.sh
Lines 25 to 37 in 5b24cf8
| elif [ ! -d "node_modules" ] || [ ! "$(ls -qAL node_modules 2>/dev/null)" ]; then | |
| if [ -f "yarn.lock" ]; then | |
| echo "Node modules not installed. Installing using yarn ..." | |
| yarn install --prod --silent | |
| else | |
| echo "Node modules not installed. Installing using npm ..." | |
| npm install --only=prod --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?
Metadata
Metadata
Assignees
Labels
No labels