Change output dir

This commit is contained in:
2022-03-06 21:48:14 +07:00
parent 1f7fffb780
commit db3e8f56d0
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -30,6 +30,6 @@ RUN yarn
COPY --from=build /home/node/app/prisma ./prisma/
RUN yarn prisma generate
COPY --from=build /home/node/app/build .
COPY --from=build /home/node/app/dist .
CMD [ "node", "index.js"]
+2 -2
View File
@@ -40,9 +40,9 @@
"scripts": {
"tsc": "tsc",
"development": "ts-node-dev ./src/index.ts --respawn --transpileOnly",
"build": "tsc -b && copyfiles -u 1 configs_example/**/*.* build/configs_example/",
"build": "tsc -b && copyfiles -u 1 configs_example/**/*.* dist/configs_example/",
"docker-build": "docker build . -t yumi:latest",
"production": "tsc && node ./build/index.js",
"production": "tsc && node ./dist/index.js",
"test": "mocha -r ts-node/register tests/**/*.ts"
},
"name": "yumi",
+1 -1
View File
@@ -17,7 +17,7 @@
"sourceMap": true,
/* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./build",
"outDir": "./dist",
/* Redirect output structure to the directory. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */