From 44f62350178bd6568b33ba611d2f68344a21c397 Mon Sep 17 00:00:00 2001 From: Evan Sosenko Date: Fri, 28 Jul 2023 16:15:04 -0700 Subject: [PATCH 1/2] Update ENTRYPOINT --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0a0384c..c41444e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,8 +39,6 @@ ENV NODE_ENV=production \ EXPOSE 8080 -ENTRYPOINT ["node"] - -CMD ["server.js"] +ENTRYPOINT ["node", "./server.js"] USER node From 4e78de6172329749ffcb8c1a97dc037c83aafc72 Mon Sep 17 00:00:00 2001 From: Evan Sosenko Date: Fri, 28 Jul 2023 16:15:11 -0700 Subject: [PATCH 2/2] Include src/server.ts in tsconfig.build.json --- tsconfig.build.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.build.json b/tsconfig.build.json index 0cb87ac..14bd836 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -7,7 +7,7 @@ "rootDir": "./src", "outDir": "./" }, - "files": ["src/index.ts"], + "files": ["src/index.ts", "src/server.ts"], "include": ["src/**/*"], "exclude": ["**/*.spec.ts"] }