|
|
|
@ -18,8 +18,11 @@ COPY requirements.txt . |
|
|
|
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple |
|
|
|
|
|
|
|
RUN rm -rf /app/config.py |
|
|
|
COPY . . |
|
|
|
COPY config.py /app/config.py |
|
|
|
COPY app.py /app/app.py |
|
|
|
COPY *.py /app/ |
|
|
|
COPY requirements.txt /app/ |
|
|
|
|
|
|
|
|
|
|
|
RUN mkdir -p /opt/alert/model-lab \ |
|
|
|
&& cp /app/config.py /opt/alert/model-lab/config.py |
|
|
|
|