Skip to content

Commit

Permalink
Update with DockerFile with prisma
Browse files Browse the repository at this point in the history
  • Loading branch information
ShushawnS committed Feb 24, 2024
1 parent d4801b3 commit f5b4d8f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion backend/typescript/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14.15.5-slim
FROM node:18.18.2-slim

WORKDIR /app

Expand All @@ -13,5 +13,7 @@ RUN yarn install

COPY . ./

RUN npx prisma generate

EXPOSE 5000
ENTRYPOINT ["yarn", "dev"]
7 changes: 4 additions & 3 deletions backend/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"test": "jest --runInBand --forceExit --detectOpenHandles",
"dev": "nodemon -L",
"lint": "eslint . --ext .ts,.js",
"fix": "eslint . --ext .ts,.js --fix",
"postinstall": "tsc"
"fix": "eslint . --ext .ts,.js --fix"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@prisma/client": "4.15.0",
"@types/graphql-upload": "^8.0.6",
"@types/json2csv": "^5.0.3",
"@types/multer": "^1.4.6",
Expand Down Expand Up @@ -72,6 +72,7 @@
"mongodb-memory-server": "^6.9.6",
"nodemon": "^2.0.7",
"prettier": "^2.2.1",
"prisma": "^4.15.0",
"ts-jest": "^27.0.3",
"typescript": "^4.1.5"
},
Expand All @@ -80,6 +81,6 @@
"graphql-upload": "^11.0.0"
},
"engines": {
"node": "14.15.5"
"node": "18.18.2"
}
}

0 comments on commit f5b4d8f

Please sign in to comment.