Install URL2green automatically in the Docker container (#4356)

This commit is contained in:
Peter Hedenskog 2024-12-27 07:06:00 +01:00 committed by GitHub
parent 3c9ecceb2d
commit a5129560bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ WORKDIR /usr/src/app
COPY package.json /usr/src/app/
COPY npm-shrinkwrap.json /usr/src/app/
COPY tools/postinstall.js /usr/src/app/tools/postinstall.js
RUN npm install --production && npm cache clean --force
RUN DOWNLOAD_URL2GREEN=true npm install --production && npm cache clean --force
COPY . /usr/src/app
COPY docker/scripts/start.sh /start.sh