feat: clone effects repo in Docker, use EFFECTS_PATH env var

This commit is contained in:
gilesb
2026-01-07 13:16:55 +00:00
parent 65746b60ac
commit 2258c461af
2 changed files with 7 additions and 2 deletions

View File

@@ -12,10 +12,14 @@ RUN pip install --no-cache-dir -r requirements.txt
# Copy application
COPY . .
# Clone effects repo
RUN git clone https://git.rose-ash.com/art-dag/effects.git /app/artdag-effects
# Create cache directory
RUN mkdir -p /data/cache
ENV PYTHONUNBUFFERED=1
ENV EFFECTS_PATH=/app/artdag-effects
# Default command runs the server
CMD ["python", "server.py"]