File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,15 @@ COPY . .
2424RUN mkdir -p ~/.config/common-lisp/
2525RUN echo "(:source-registry (:tree \"/work/\") :inherit-configuration)" > ~/.config/common-lisp/source-registry.conf
2626
27- RUN sbcl --disable-ldb --load scripts/build-rpc.lisp
27+ RUN sbcl --dynamic-space-size 4GB --disable-ldb --load scripts/build-rpc.lisp
28+
29+
30+ RUN chmod 755 /work/lem-rpc/lem-rpc
31+
32+ RUN adduser -D user
33+ USER user
34+ WORKDIR /home/user
35+
36+ RUN sbcl --load /work/quicklisp.lisp --eval "(quicklisp-quickstart:install)" --eval "(ql-util:without-prompting (ql:add-to-init-file))"
2837
2938ENTRYPOINT ["/work/lem-rpc/docker/entrypoint.sh"]
Original file line number Diff line number Diff line change 11#! /bin/sh -x
22
3- USER_NAME=${USER_NAME:- user}
4- adduser -D " $USER_NAME "
5-
6- chmod 755 /work/lem-rpc/lem-rpc
7- su - $USER_NAME -c ' /work/lem-rpc/lem-rpc --mode websocket --port 50000 --host 0.0.0.0'
3+ /work/lem-rpc/lem-rpc --mode websocket --port 50000 --host 0.0.0.0
You can’t perform that action at this time.
0 commit comments