Skip to content

Commit 4fef1a9

Browse files
committed
fix: Ensures Docker build uses matching npm package versions from package.json
1 parent aeed1f8 commit 4fef1a9

File tree

3 files changed

+99
-48
lines changed

3 files changed

+99
-48
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ COPY --from=builder --chown=nextjs:nodejs /app/.sequelizerc ./.sequelizerc
4040
COPY --from=builder --chown=nextjs:nodejs /app/entrypoint.sh ./entrypoint.sh
4141
RUN rm package.json
4242
RUN npm init -y
43-
RUN npm i cryptr dotenv croner @googleapis/searchconsole sequelize-cli @isaacs/ttlcache
43+
RUN npm i cryptr@6.0.3 dotenv@16.0.3 croner@9.0.0 @googleapis/searchconsole@1.0.5 sequelize-cli@6.6.2 @isaacs/ttlcache@1.4.1
4444
RUN npm i -g concurrently
4545

4646
USER nextjs

package-lock.json

Lines changed: 97 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"release": "standard-version"
1919
},
2020
"dependencies": {
21-
"@googleapis/searchconsole": "^1.0.0",
21+
"@googleapis/searchconsole": "^1.0.5",
2222
"@isaacs/ttlcache": "^1.4.1",
2323
"@types/react-transition-group": "^4.4.5",
2424
"axios": "^1.7.7",

0 commit comments

Comments
 (0)