FROM debian:bookworm ENV buildpkgs "curl sbcl" ENV qlurl https://beta.quicklisp.org/quicklisp.lisp WORKDIR /usr/src/pariatech-pong/ COPY init.lisp . COPY game ./game COPY server ./server RUN apt update && \ apt install -y ${buildpkgs} && \ apt auto-remove -y && \ curl -SOL ${qlurl} && \ sbcl --load quicklisp.lisp \ --eval "(quicklisp-quickstart:install)" \ --eval "(sb-ext:quit)" EXPOSE 54321/tcp CMD sbcl --load ~/quicklisp/setup.lisp \ --eval "(load \"game/game.asd\")" \ --eval "(load \"server/server.asd\")" \ --eval "(ql:quickload \"server\")" \ --eval "(in-package :pong.server)" \ --eval "(main)"