FROM php:8.2-cli # Install dependencies RUN apt-get update && apt-get install -y \ ffmpeg \ libffi-dev \ libgmp-dev \ libxml2-dev \ espeak \ libcurl4-openssl-dev \ libssl-dev \ libonig-dev \ git \ unzip \ && docker-php-ext-install ffi gmp simplexml dom curl sockets mbstring # Install Composer COPY --from=composer:latest /usr/bin/composer /usr/bin/composer # Set working directory WORKDIR /app # Copy source code COPY . /app COPY piper /app/piper # Expose Web Port EXPOSE 8000 # Entrypoint RUN chmod +x start.sh CMD ["./start.sh"]