x2XcarleX2x commited on
Commit
cb6c77f
verified
1 Parent(s): 5910529

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -5
Dockerfile CHANGED
@@ -75,11 +75,22 @@ RUN pip install \
75
  cython \
76
  numpy
77
 
78
- RUN mkdir -p /miniconda3miniconda && \
79
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /miniconda3/miniconda.sh && \
80
- bash /miniconda3/miniconda.sh -b -u -p /miniconda3 && \
81
- rm /miniconda3/miniconda.sh
82
-
 
 
 
 
 
 
 
 
 
 
 
83
 
84
  # =============================================================================
85
  # INSTALA脟脙O DO RESTANTE DAS DEPEND脢NCIAS
 
75
  cython \
76
  numpy
77
 
78
+ # =============================================================================
79
+ # INSTALA脟脙O DO MINICONDA
80
+ # =============================================================================
81
+ # Define o ambiente para o Conda
82
+ ENV CONDA_DIR=/opt/conda
83
+ ENV PATH=$CONDA_DIR/bin:$PATH
84
+
85
+ # Baixa, instala e limpa o instalador do Miniconda
86
+ RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
87
+ /bin/bash ~/miniconda.sh -b -p $CONDA_DIR && \
88
+ rm ~/miniconda.sh && \
89
+ # Garante que o conda est谩 'inicializado' para os pr贸ximos comandos
90
+ conda init bash && \
91
+ # Exemplo: cria um ambiente chamado 'aduc' com python 3.10
92
+ conda create -n aduc python=3.10 -y
93
+
94
 
95
  # =============================================================================
96
  # INSTALA脟脙O DO RESTANTE DAS DEPEND脢NCIAS