feat: clone effects repo in Docker, use EFFECTS_PATH env var
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user