docker-machine assigned memory and CPUs for VirtualBox).cd /YOUR/PATH/TO/lichockergit clone --recursive https://github.com/ornicar/lila.gitcp lila/bin/dev.default lila/bin/dev && chmod +x lila/bin/devcp lila/conf/application.conf.default lila/conf/application.conf/etc/hosts file: 127.0.0.1 lichess-assets.localRun the following while in the lichocker directory: docker build --tag brandone211/lichess .
docker login
docker pull ipkstef/stefchess
The Docker Hub repository can be found here.
docker run \
--volume ~/YOUR/PATH/TO/lila:/home/lichess/projects/lila \
--publish 80:80 \
--publish 9663:9663 \
--name lichess \
--interactive \
--tty \
ipkstef/stefchess
Enter run when you see the Scala Build Tool console appear: [lila] $
Wait until you see the following message:
--- (Running the application, auto-reloading is enabled) ---
[info] p.c.s.NettyServer - Listening for HTTP on /0.0.0.0:9663
(Server started, use Ctrl+D to stop and go back to the console...)
Navigate to http://localhost:9663 in your host machine's browser.
Enter evicted in the sbt console and re-run if you see the following error: [error] version 2.11.12, library jar: /home/lichess/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.12.jar, compiler jar: /home/lichess/.ivy2/cache/org.scala-lang/scala-compiler/jars/scala-compiler-2.11.12.jar
You can run fishnet (in another Docker container if desired) by following these instructions.
Because your lila directory exists on your host machine and is mounted onto the container, you can modify the code and rebuild on the host machine and it will take effect on the container. Run ~/YOUR/PATH/TO/lila/ui/build to update the client side modules. Auto-reloading is enabled for the server side Scala code via sbt.
For more information, including the guide used to create lichocker, please see the Lichess Development Onboarding instructions.
docker stop lichessdocker start lichess --attach --interactivedocker attach lichessdocker rm lichessContent type
Image
Digest
Size
430 MB
Last updated
over 7 years ago
docker pull ipkstef/stefchess