Run Python Xgboost on Docker Windows

Hi everyone,
I am trying to build a docker windows image containing Xgboost for Python.
When I try to import xgboost I get the following error:

‘Error message(s): {}\n’.format(os_error_list))
xgboost.core.XGBoostError: XGBoost Library (xgboost.dll) could not be loaded.
Likely causes:

  • OpenMP runtime is not installed (vcomp140.dll or libgomp-1.dll for Windows, libomp.dylib for Mac OSX, libgomp.so for Linux and other UNIX-like OSes). Mac OSX users: Run brew install libomp to install OpenMP runtime.
  • You are running 32-bit Python on a 64-bit OS
    Error message(s): [’[WinError 1455] The paging file is too small for this operation to complete’]

I tried to copy both dlls in the dockerfile but without success.

Anyone has an idea how to solve this?

Thank you in advance