fix docker config

This commit is contained in:
Samuel Jędrzejewski 2025-02-07 18:32:13 +01:00
parent fad3022657
commit 16a71eaa3c
No known key found for this signature in database
GPG Key ID: 6EF009385B4FB3B9
3 changed files with 3 additions and 37 deletions

View File

@ -3,10 +3,9 @@ FROM node:18-alpine
WORKDIR /app
COPY . .
COPY package.json.docker ./package.json
COPY package.json ./
COPY .env.local ./.env.local
RUN npm install
CMD ["npm", "start"]
CMD ["npm", "run", "docker"]

View File

@ -6,6 +6,7 @@
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"tsx": "tsx --env-file=.env.local",
"start": "tsx --env-file=.env.local src/run.ts",
"docker": "tsx src/run.ts",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",

View File

@ -1,34 +0,0 @@
{
"name": "open-deep-research",
"version": "0.0.1",
"main": "index.ts",
"scripts": {
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"tsx": "tsx --env-file=.env.local",
"start": "tsx src/run.ts",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"description": "",
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.13.0",
"prettier": "^3.4.2",
"tsx": "^4.19.2",
"typescript": "^5.7.3"
},
"dependencies": {
"@ai-sdk/openai": "^1.1.9",
"@mendable/firecrawl-js": "^1.16.0",
"ai": "^4.1.17",
"js-tiktoken": "^1.0.17",
"lodash-es": "^4.17.21",
"p-limit": "^6.2.0",
"zod": "^3.24.1"
},
"engines": {
"node": "22.x"
}
}