Revert "updated prisma service async runner"

This reverts commit db0ae34948.
This commit is contained in:
2025-08-10 11:05:45 +03:00
parent db0ae34948
commit ac1980566a
13640 changed files with 277 additions and 4688722 deletions

View File

@@ -1,27 +0,0 @@
FROM python:3.9-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y build-essential libpq-dev && rm -rf /var/lib/apt/lists/*
# Copy requirements first for better caching
COPY ServicesRunnner/requirements.txt .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy Prisma schema and generate client
COPY ServicesRunnner/schema.prisma .
COPY ServicesRunnner/Depends .
RUN prisma generate
# Copy the rest of the application
COPY ServicesRunnner/ .
# Set environment variables
ENV PYTHONPATH=/app
# Command to run when container starts
CMD ["python", "-m", "template.py"]