Skip to content

Test #533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Test #533

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Nutze ein offizielles Node.js-Image (z. B. Node 18 auf Alpine-Basis)
FROM node:18-alpine

# Setze das Arbeitsverzeichnis im Container
WORKDIR /app

# Kopiere package.json und package-lock.json (falls vorhanden) in das Arbeitsverzeichnis
COPY package*.json ./

# Installiere die Abhängigkeiten
RUN npm install

# Installiere die Abhängigkeiten
RUN npm install twilio

# Kopiere den Rest der Anwendung in das Arbeitsverzeichnis
COPY . .

# Exponiere den Port, auf dem die App läuft (standardmäßig 3000)
EXPOSE 3000

# Starte die Anwendung
CMD ["npm", "start"]
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '3.8'
services:
app:
build: .
container_name: myvoicebot
ports:
- "3000:3000"
environment:
- PORT=3000
- OPENAI_API_KEY=
- TWILIO_AUTH_TOKEN=
Loading