data pipeline refactor and fix
This commit is contained in:
@@ -11,7 +11,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy dependency specifications
|
||||
COPY setup.py .
|
||||
COPY environment.yml .
|
||||
COPY dexorder/ dexorder/
|
||||
|
||||
@@ -27,9 +26,6 @@ RUN mkdir -p dexorder/generated && \
|
||||
RUN conda env create -f environment.yml -p /build/env && \
|
||||
conda clean -afy
|
||||
|
||||
# Install the local package into the conda environment
|
||||
RUN /build/env/bin/pip install --no-cache-dir .
|
||||
|
||||
# =============================================================================
|
||||
# Runtime stage
|
||||
# =============================================================================
|
||||
@@ -75,7 +71,8 @@ RUN chmod 755 /app/entrypoint.sh && chown root:root /app/entrypoint.sh
|
||||
USER dexorder
|
||||
|
||||
# Environment variables (can be overridden in k8s)
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
ENV PYTHONPATH=/app \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
MPLCONFIGDIR=/tmp \
|
||||
NUMBA_CACHE_DIR=/tmp/numba_cache \
|
||||
LOG_LEVEL=INFO \
|
||||
|
||||
Reference in New Issue
Block a user