13 lines
277 B
Docker
13 lines
277 B
Docker
|
FROM continuumio/miniconda:latest
|
||
|
|
||
|
WORKDIR /crypto_prediction
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
RUN conda env create -f env.yml
|
||
|
|
||
|
RUN echo 'source activate crypto_prediction' | tee -a ~/.bashrc
|
||
|
|
||
|
ENV PATH /opt/conda/envs/crypto_prediction/bin:$PATH
|
||
|
|
||
|
ENTRYPOINT ["python", "/crypto_prediction/main.py"]
|