Skip to content

Commit

Permalink
disable nvmrc versioning of base image, can't be used with docker hub…
Browse files Browse the repository at this point in the history
… integration
  • Loading branch information
m0ar committed Sep 30, 2024
1 parent a18bf8d commit 9b11bfb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ARG NODE_VERSION
FROM node:${NODE_VERSION}-alpine3.20 AS base
FROM node:20.13.1-alpine3.20 AS base
RUN apk update && apk add --no-cache bash dumb-init

WORKDIR /usr/src/app
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "module",
"scripts": {
"build": "tsc",
"docker:build": "docker build --build-arg NODE_VERSION=$(< .nvmrc) .",
"watch": "tsc --watch",
"start": "node dist/index.js",
"test": "PINO_LOG_LEVEL=silent PORT=5600 vitest --config vitest.config.ts",
Expand Down

0 comments on commit 9b11bfb

Please sign in to comment.