diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1625333 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules/ +.env +.DS_Store +*.log diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..af60335 --- /dev/null +++ b/docker-compose.yml @@ -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 diff --git a/no-reply-api/.dockerignore b/no-reply-api/.dockerignore new file mode 100644 index 0000000..93f1361 --- /dev/null +++ b/no-reply-api/.dockerignore @@ -0,0 +1,2 @@ +node_modules +npm-debug.log diff --git a/no-reply-api/Dockerfile b/no-reply-api/Dockerfile new file mode 100644 index 0000000..b5c7e50 --- /dev/null +++ b/no-reply-api/Dockerfile @@ -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"]