VoiceStack / Dockerfile
klentyboopathi's picture
updated docker
24352e2
raw
history blame
402 Bytes
# Stage 2: Create the final application image
FROM python:3.11-slim
WORKDIR /app
# Install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the backend code
COPY . .
RUN chmod +x ./setup.sh && ./setup.sh
# Expose the port the app runs on
EXPOSE 7860
# Run the application
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]