This repository provides the dockerfile for DOE2 and a docker-compose to build the image.
Run command:
docker build \
--build-arg DOE22PASSWORD=<password> \
--file versions/python/dockerfile \
--tag <your name>/doe2:<doe2 version> \
.
Run command:
docker-compose build
Run command:
docker run \
-it \
--rm \a
--volume "<model>:/root/.wine/drive_c/sample" \
<docker image> \ # example: grammyjiang/python-doe2:exe48z
wine cmd /c c:/doe22/doe22 exe48z c:/sample/sample chicagil
where:
-it: it is necessary, even there is no interactive
--volume: the path of the project, mount it to
/root/.wine/drive_c/sample
to make it available in winewine: running the batch file with
cmd.exe
doe22:
c:/doe22/doe22
is the batch file ofdoe22.bat
,exe48z
is the version ofdoe22
,c:/simple/simple
is the path of inp file (withoutinp
postfix),chicagil
is the weather file which located inc:/doe22/weather