FROM python:3.9-slim | |
# Install system dependencies | |
RUN apt-get update && apt-get install -y \ | |
ffmpeg \ | |
libsox-dev \ | |
curl \ | |
&& rm -rf /var/lib/apt/lists/* | |
# Install uv | |
RUN curl -LsSf https://astral.sh/uv/install.sh | sh | |
# Set working directory | |
WORKDIR /app | |
# Copy the current directory contents into the container at /app | |
COPY . /app | |
# Install Python dependencies using uv | |
# If there is a requirements.txt in the repository, use: | |
RUN /root/.cargo/bin/uv pip install --no-cache-dir -r requirements.txt | |
# Run the main script | |
CMD ["python", "neorvc/easyneo.py"] | |