Skip to content

Commit d23cc04

Browse files
committed
added then to if statement
1 parent b6d1ac0 commit d23cc04

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

Dockerfile

+21-21
Original file line numberDiff line numberDiff line change
@@ -187,34 +187,34 @@ RUN if [ "$include_neutronics" = "true" ] ; \
187187
fi
188188

189189
RUN if [ "$include_neutronics" = "true" ] ; \
190-
wget https://f002.backblazeb2.com/file/cubit-downloads/Coreform-Cubit/master/Linux/Coreform-Cubit-master-b7317c72-Lin64.deb ; \
190+
then wget https://f002.backblazeb2.com/file/cubit-downloads/Coreform-Cubit/master/Linux/Coreform-Cubit-master-b7317c72-Lin64.deb ; \
191191
dpkg -i Coreform-Cubit-master-b7317c72-Lin64.deb ; \
192192
fi
193193

194-
# COPY requirements.txt requirements.txt
195-
# RUN pip install -r requirements.txt
194+
COPY requirements.txt requirements.txt
195+
RUN pip install -r requirements.txt
196196

197-
# ENV OPENMC_CROSS_SECTIONS=/root/nndc_hdf5/cross_sections.xml
198-
# ENV PATH="/MOAB/build/bin:${PATH}"
199-
# ENV PATH="/DAGMC/bin:${PATH}"
197+
ENV OPENMC_CROSS_SECTIONS=/root/nndc_hdf5/cross_sections.xml
198+
ENV PATH="/MOAB/build/bin:${PATH}"
199+
ENV PATH="/DAGMC/bin:${PATH}"
200200

201-
# RUN mkdir /home/paramak
202-
# EXPOSE 8888
203-
# WORKDIR /home/paramak
201+
RUN mkdir /home/paramak
202+
EXPOSE 8888
203+
WORKDIR /home/paramak
204204

205205

206-
# FROM dependencies as final
206+
FROM dependencies as final
207207

208-
# COPY run_tests.sh run_tests.sh
209-
# COPY paramak paramak/
210-
# COPY examples examples/
211-
# COPY setup.py setup.py
212-
# COPY tests tests/
213-
# COPY README.md README.md
208+
COPY run_tests.sh run_tests.sh
209+
COPY paramak paramak/
210+
COPY examples examples/
211+
COPY setup.py setup.py
212+
COPY tests tests/
213+
COPY README.md README.md
214214

215-
# # using setup.py instead of pip due to https://github.com/pypa/pip/issues/5816
216-
# RUN python setup.py install
215+
# using setup.py instead of pip due to https://github.com/pypa/pip/issues/5816
216+
RUN python setup.py install
217217

218-
# # this helps prevent the kernal failing
219-
# RUN echo "#!/bin/bash\n\njupyter lab --notebook-dir=/home/paramak --port=8888 --no-browser --ip=0.0.0.0 --allow-root" >> /home/paramak/docker-cmd.sh
220-
# CMD bash /home/paramak/docker-cmd.sh
218+
# this helps prevent the kernal failing
219+
RUN echo "#!/bin/bash\n\njupyter lab --notebook-dir=/home/paramak --port=8888 --no-browser --ip=0.0.0.0 --allow-root" >> /home/paramak/docker-cmd.sh
220+
CMD bash /home/paramak/docker-cmd.sh

0 commit comments

Comments
 (0)