Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jannerm authored May 27, 2022
1 parent 067bd52 commit e174300
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ RUN conda update -y --name base conda && conda clean --all -y

RUN git config --global url."https://".insteadOf git://
RUN conda env create -f /opt/environment.yml
ENV PATH /opt/conda/envs/diffusion/bin:$PATH
ENV PATH /opt/conda/envs/diffuser/bin:$PATH

##########################################################
### gym sometimes has this patchelf issue
Expand All @@ -91,5 +91,5 @@ RUN curl -o /usr/local/bin/patchelf https://s3-us-west-2.amazonaws.com/openai-sc
&& chmod +x /usr/local/bin/patchelf
# RUN pip install gym[all]==0.12.5

RUN echo "source activate /opt/conda/envs/diffusion && export PYTHONPATH=$PYTHONPATH:/home/code && export CUDA_VISIBLE_DEVICES=0" >> ~/.bashrc
RUN echo "source activate /opt/conda/envs/diffuser && export PYTHONPATH=$PYTHONPATH:/home/code && export CUDA_VISIBLE_DEVICES=0" >> ~/.bashrc
RUN source ~/.bashrc

0 comments on commit e174300

Please sign in to comment.