mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 10:49:20 +00:00
Change output dir
This commit is contained in:
+1
-1
@@ -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
@@ -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
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user