mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-27 01:16:23 +02:00
Add twilio configuration user flow
This commit is contained in:
parent
4b3395ea3a
commit
de6b3cbbbb
11 changed files with 926 additions and 65 deletions
27
apps/voice/Dockerfile
Normal file
27
apps/voice/Dockerfile
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy requirements first to leverage Docker cache
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy application code
|
||||
COPY . .
|
||||
|
||||
# Debug: List files in /app
|
||||
RUN ls -la /app
|
||||
|
||||
# Set environment variables
|
||||
ENV PYTHONPATH=/app
|
||||
|
||||
# Expose the port the app runs on
|
||||
EXPOSE 3009
|
||||
|
||||
# Command to run the application directly with Python
|
||||
CMD ["python", "twilio_server.py"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue