chore(api): add docker compose and container image for no-reply service
This commit is contained in:
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
node_modules/
|
||||
.env
|
||||
.DS_Store
|
||||
*.log
|
||||
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
whispergate-no-reply-api:
|
||||
build:
|
||||
context: ./no-reply-api
|
||||
container_name: whispergate-no-reply-api
|
||||
ports:
|
||||
- "8787:8787"
|
||||
environment:
|
||||
- PORT=8787
|
||||
- NO_REPLY_MODEL=whispergate-no-reply-v1
|
||||
restart: unless-stopped
|
||||
2
no-reply-api/.dockerignore
Normal file
2
no-reply-api/.dockerignore
Normal file
@@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
npm-debug.log
|
||||
7
no-reply-api/Dockerfile
Normal file
7
no-reply-api/Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
||||
FROM node:22-alpine
|
||||
WORKDIR /app
|
||||
COPY package.json ./
|
||||
COPY server.mjs ./
|
||||
EXPOSE 8787
|
||||
ENV PORT=8787
|
||||
CMD ["node", "server.mjs"]
|
||||
Reference in New Issue
Block a user