Skip to content

Dockerfile for optimizer#20

Open
anaderi wants to merge 1 commit into
lnmathfrom
lnmath-docker
Open

Dockerfile for optimizer#20
anaderi wants to merge 1 commit into
lnmathfrom
lnmath-docker

Conversation

@anaderi

@anaderi anaderi commented Jul 27, 2018

Copy link
Copy Markdown

now it is possible to build docker image after a build of manager:

cd $PROJECTROOT
make build

and run it with make run
all logs and stats will be saved to log folder

Comment thread Dockerfile
RUN if [ -d /optimization/optimizer/outlet ] ; then rm -rf /optimization/optimizer/outlet ; fi

# patch configs
RUN sed -i 's/python3/python/g' /optimization/cycle_run.sh

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AleksZhuravljov Could we somehow make the installation more simple? Why it requires such a tweaks?

Comment thread Dockerfile

RUN pip install -r /optimization/requirements.txt
RUN pip install numpy
RUN pip install git+https://github.com/oblalex/gnuplot.py-py3k.git

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AleksZhuravljov Could we add this libraries in the requirements?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants