diff --git a/Dockerfile b/Dockerfile index 04b5cd7..5be241b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,7 @@ RUN npm prune --prod # move RUN rm -rf /app \ && mv dist /app \ + && mv certificate /app \ && mv .env /app \ && mv node_modules /app/ \ && rm -rf /src diff --git a/package.json b/package.json index 0f9b05e..7cf71b2 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "start": "npm run dev", "dev": "tsrpc-cli dev", + "prod": "node index.js", "debug": "set NODE_ENV=dev && nodemon --exec \"node --require ts-node/register --inspect=127.0.0.1:9229 src/index.ts\"", "build": "tsrpc-cli build", "doc": "tsrpc-cli doc", @@ -34,4 +35,4 @@ "fs": "^0.0.1-security", "tsrpc": "^3.4.12" } -} +} \ No newline at end of file