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