ci(dockerfile): copy prisma client correctly

This commit is contained in:
Amruth Pillai
2023-11-05 14:23:01 +01:00
parent d113f84c7e
commit fa248c47ad
11 changed files with 23 additions and 37 deletions

View File

@ -55,8 +55,6 @@ services:
app:
image: amruthpillai/reactive-resume
restart: unless-stopped
ports:
- 3000:3000
depends_on:
- postgres
- minio
@ -112,7 +110,6 @@ services:
- --entrypoints.web.address=:80
ports:
- 80:80
- 8080:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock

View File

@ -1,7 +0,0 @@
const fs = require("fs");
const path = require("path");
const packageJsonPath = path.join(__dirname, "..", "..", "package.json");
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf-8"));
process.stdout.write(packageJson.version);