Dockerfile 728 Bytes
Newer Older
Xie Zhou's avatar
init  
Xie Zhou committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM hub.cstcloud.cn/csst/python:3.8

RUN pip install --no-deps ccdproc && pip install deepCR

RUN apt-get update && apt-get install -y vim

RUN mkdir -p /home/csstpipeline/code/csst-msc-instrument-effect/csst_msc_instrument_effect
# COPY run.sh /app/bin/
COPY instrument_effect_wrapper.py setup.py requirements.txt \ 
    /home/csstpipeline/code/csst-msc-instrument-effect/

COPY csst_msc_instrument_effect/* \ 
    /home/csstpipeline/code/csst-msc-instrument-effect/csst_msc_instrument_effect/

COPY MSC_crmask.ini /home/csstpipeline/csst-msc-instrument-effect-master/

RUN cd /home/csstpipeline/code/csst-msc-instrument-effect/ \
    && python setup.py install

COPY cleanup.sh /app/bin/
COPY csst_msc_iec.sh /app/bin/run.sh