uncloseai.com/public/languages/commonlisp/Dockerfile

25 lines
809 B
Docker

# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Pin to specific SBCL version (checked 2025-10-15: clfoundation/sbcl:latest is stable)
FROM clfoundation/sbcl:latest
# Install Quicklisp (Common Lisp package manager)
RUN curl -O https://beta.quicklisp.org/quicklisp.lisp && \
sbcl --load quicklisp.lisp --eval '(quicklisp-quickstart:install)' --quit && \
echo '(load "~/quicklisp/setup.lisp")' >> ~/.sbclrc
# Install Dexador HTTP client and JSON parser
RUN sbcl --eval '(ql:quickload :dexador)' \
--eval '(ql:quickload :jonathan)' \
--quit
# Set working directory
WORKDIR /app
# Copy application files
COPY uncloseai.lisp .
# Default command runs the demo
CMD ["sbcl", "--script", "uncloseai.lisp"]