diff --git a/apps/core/Dockerfile b/apps/core/Dockerfile index 1a69a1c7..cf8c7b5b 100644 --- a/apps/core/Dockerfile +++ b/apps/core/Dockerfile @@ -31,7 +31,7 @@ ENV NODE_ENV=production WORKDIR /app COPY --chown=node:node --from=builder /app/apps/core/build/index.js ./ -COPY --chown=node:node --from=builder /app/apps/core/build/index.js.map ./ + COPY --chown=node:node --from=schema-builder /app/node_modules/.prisma/client/schema.prisma ./ COPY --chown=node:node --from=schema-builder /app/node_modules/.prisma/client/libquery_engine-linux-musl.so.node ./ @@ -39,4 +39,4 @@ RUN yarn init -y EXPOSE 7501 -CMD ["node", "--enable-source-maps", "index.js"] +CMD ["node", "index.js"] diff --git a/apps/core/package.json b/apps/core/package.json index 00e8bc8e..9f4e9a06 100644 --- a/apps/core/package.json +++ b/apps/core/package.json @@ -9,7 +9,7 @@ "clean": "rm -rf .turbo dist build logs", "dev": "nodemon --watch \"*.ts\" --exec \"ts-node\" ./src/index.ts", "lint": "eslint src", - "build:prod": "esbuild ./src/index.ts --bundle --sourcemap --platform=node --outfile=build/index.js", + "build:prod": "esbuild ./src/index.ts --bundle --platform=node --outfile=build/index.js", "test": "jest", "gql:gen:types": "yarn graphql-codegen" },