fix: align tsconfig rootDir and Dockerfile CMD path
This commit is contained in:
@@ -6,4 +6,4 @@ COPY . .
|
||||
RUN npm run build
|
||||
ENV PORT=3000
|
||||
EXPOSE 3000
|
||||
CMD ["node", "dist/server/index.js"]
|
||||
CMD ["node", "dist/server/src/server/index.js"]
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
"target": "ES2022",
|
||||
"module": "Node16",
|
||||
"moduleResolution": "Node16",
|
||||
"outDir": "./dist",
|
||||
"rootDir": "src",
|
||||
"outDir": "./dist/server",
|
||||
"rootDir": "./",
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@/*": [
|
||||
|
||||
Reference in New Issue
Block a user