Add the version of Express as being done in package.json.

This commit is contained in:
2025-08-21 13:24:53 -07:00
parent f77557151a
commit 6062818475

View File

@@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y git php-cli sudo curl
# Cache Node Dependencies # Cache Node Dependencies
RUN mkdir -p /var/www/api RUN mkdir -p /var/www/api
WORKDIR /var/www/api WORKDIR /var/www/api
RUN echo '{ "dependencies": { "express": "" } }' > package.json RUN echo '{ "dependencies": { "express": ">=4.18.1 < 5.0.0" } }' > package.json
RUN npm install RUN npm install
# Install + Run Website # Install + Run Website