Commit a8a56bf4 authored by nanahira's avatar nanahira

fix container recreate

parent 6c774533
Pipeline #21031 failed with stages
in 42 seconds
......@@ -40,3 +40,4 @@ lerna-debug.log*
.git*
Dockerfile
.dockerignore
/docker-compose.yml
......@@ -23,6 +23,8 @@ RUN npm ci && npm cache clean --force
COPY --from=builder /usr/src/app/node_modules/chatgpt3 ./node_modules/chatgpt3
COPY --from=builder /usr/src/app/dist ./dist
COPY ./config.example.yaml ./config.yaml
COPY ./docker-entrypoint.sh ./
EXPOSE 3000
ENTRYPOINT ["./docker-entrypoint.sh"]
CMD xvfb-run npm run start:prod
......@@ -3,7 +3,7 @@ port: 3000
redisUrl: ''
token: ''
accounts:
type: 'static',
type: 'static'
config:
- email: 'test@example.com'
password: 'wwww'
......@@ -14,4 +14,4 @@ proxies:
config: []
apiKeys:
type: 'static'
config: []
\ No newline at end of file
config: []
version: '2.4'
services:
test-chatgpt:
build: '.'
#!/bin/bash
rm -rf /tmp/.X*
"$@"
......@@ -19,7 +19,7 @@
"axios": "^1.3.3",
"better-lock": "^2.0.3",
"chatgpt3": "npm:chatgpt@^3.5.2",
"chatgpt5": "npm:chatgpt@^5.0.5",
"chatgpt5": "npm:chatgpt@^5.1.3",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"nestjs-aragami": "^1.0.0",
......@@ -814,9 +814,9 @@
}
},
"node_modules/@dqbd/tiktoken": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/@dqbd/tiktoken/-/tiktoken-0.4.0.tgz",
"integrity": "sha512-iaHgmwKAOqowBFZKxelyszoeGLoNw62eOULcmyme1aA1Ymr3JgYl0V7jwpuUm7fksalycZajx3loFn9TRUaviw=="
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@dqbd/tiktoken/-/tiktoken-1.0.2.tgz",
"integrity": "sha512-AjGTBRWsMoVmVeN55NLyupyM8TNamOUBl6tj5t/leLDVup3CFGO9tVagNL1jf3GyZLkWZSTmYVbPQ/M2LEcNzw=="
},
"node_modules/@eslint/eslintrc": {
"version": "1.4.1",
......@@ -3326,11 +3326,11 @@
},
"node_modules/chatgpt5": {
"name": "chatgpt",
"version": "5.0.5",
"resolved": "https://registry.npmjs.org/chatgpt/-/chatgpt-5.0.5.tgz",
"integrity": "sha512-86IlhtgHKDOvV+Hl4DLUOKZ354OH784ciI8xxbM4pmfzewQCP5VnjI0yb/nCVKAjyerFdIFHpcWdw2TVdhlcVw==",
"version": "5.1.3",
"resolved": "https://registry.npmjs.org/chatgpt/-/chatgpt-5.1.3.tgz",
"integrity": "sha512-RUroxNJdV4RSD3JKUINn/Dq3FQ+k4P3EwvAN+7wgnumlBcJx5DScRvI4wI3jUobQvk6Zb3n8IMgLQypsk0LmCQ==",
"dependencies": {
"@dqbd/tiktoken": "^0.4.0",
"@dqbd/tiktoken": "^1.0.2",
"cac": "^6.7.14",
"conf": "^11.0.1",
"eventsource-parser": "^0.0.5",
......@@ -11382,9 +11382,9 @@
}
},
"@dqbd/tiktoken": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/@dqbd/tiktoken/-/tiktoken-0.4.0.tgz",
"integrity": "sha512-iaHgmwKAOqowBFZKxelyszoeGLoNw62eOULcmyme1aA1Ymr3JgYl0V7jwpuUm7fksalycZajx3loFn9TRUaviw=="
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@dqbd/tiktoken/-/tiktoken-1.0.2.tgz",
"integrity": "sha512-AjGTBRWsMoVmVeN55NLyupyM8TNamOUBl6tj5t/leLDVup3CFGO9tVagNL1jf3GyZLkWZSTmYVbPQ/M2LEcNzw=="
},
"@eslint/eslintrc": {
"version": "1.4.1",
......@@ -13288,11 +13288,11 @@
}
},
"chatgpt5": {
"version": "npm:chatgpt@5.0.5",
"resolved": "https://registry.npmjs.org/chatgpt/-/chatgpt-5.0.5.tgz",
"integrity": "sha512-86IlhtgHKDOvV+Hl4DLUOKZ354OH784ciI8xxbM4pmfzewQCP5VnjI0yb/nCVKAjyerFdIFHpcWdw2TVdhlcVw==",
"version": "npm:chatgpt@5.1.3",
"resolved": "https://registry.npmjs.org/chatgpt/-/chatgpt-5.1.3.tgz",
"integrity": "sha512-RUroxNJdV4RSD3JKUINn/Dq3FQ+k4P3EwvAN+7wgnumlBcJx5DScRvI4wI3jUobQvk6Zb3n8IMgLQypsk0LmCQ==",
"requires": {
"@dqbd/tiktoken": "^0.4.0",
"@dqbd/tiktoken": "^1.0.2",
"cac": "^6.7.14",
"conf": "^11.0.1",
"eventsource-parser": "^0.0.5",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment