We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbef81d commit 74ddbdfCopy full SHA for 74ddbdf
Dockerfile
@@ -1,5 +1,6 @@
1
FROM node:16-alpine
2
3
+ENV API_HOST=0.0.0.0
4
WORKDIR /app
5
COPY . .
6
docker-compose.yml
@@ -1,12 +1,14 @@
version: '3'
services:
app:
- build:
- context: .
- dockerfile: ./Dockerfile
+ # build:
+ # context: .
+ # dockerfile: ./Dockerfile
7
+ image: ghcr.io/waylaidwanderer/node-chatgpt-api:latest
8
+ restart: unless-stopped
9
environment:
10
- OPENAI_API_KEY=${OPENAI_API_KEY}
11
volumes:
- - ./settings.js:/var/chatgpt-api/settings.js:cached
12
+ - ./settings.js:/app/settings.js:cached
13
ports:
14
- '${APP_PORT:-3000}:3000'
0 commit comments