From d9524e6972b6db0a0eee19d4c1e9c31ed635e9a0 Mon Sep 17 00:00:00 2001 From: david-nathanael <125508712+david-nathanael@users.noreply.github.com> Date: Mon, 20 Mar 2023 11:11:50 +0100 Subject: [PATCH] fix: chemin index serveur --- server/Dockerfile | 2 +- server/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/Dockerfile b/server/Dockerfile index 283a9920f..04976f3d5 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -24,4 +24,4 @@ COPY --from=builder ./app/. . EXPOSE 5000 WORKDIR /app/server -CMD ["node", "dist/src/index.js"] +CMD ["node", "dist/index.js"] diff --git a/server/package.json b/server/package.json index 1827c202d..ac3031db4 100644 --- a/server/package.json +++ b/server/package.json @@ -8,7 +8,7 @@ "license": "MIT", "main": "src/index.js", "scripts": { - "start": "node dist/src/index.js", + "start": "node dist/index.js", "dev": "tsup src/index.ts migrations --watch . --onSuccess 'yarn run start'", "build": "tsup src/index.ts migrations", "typecheck": "tsc",