-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
61 lines (40 loc) · 1.13 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
FROM clfoundation/sbcl:2.2.2
ARG QUICKLISP_DIST_VERSION=2022-02-20
ARG QUICKLISP_ADD_TO_INIT_FILE=true
WORKDIR /bartleby
# Copy necessary bartleby files:
COPY /webbartleby .
COPY /src .
COPY webbartleby.asd .
COPY bartleby.asd .
COPY /invoices .
RUN true
COPY launch-webbartleby .
RUN true
EXPOSE 4242
EXPOSE 5432
ENTRYPOINT ["./launch-webbartleby"]
#-------------------------------
#FROM clfoundation/sbcl:2.2.2
#ARG QUICKLISP_DIST_VERSION=2022-02-20
#ARG QUICKLISP_ADD_TO_INIT_FILE=true
#RUN apt-get update && apt-get install make
# Make and set working directory
#WORKDIR /root/quicklisp/local-projects/bartleby
# Copy necessary bartleby files:
#COPY /webbartleby .
#COPY /src .
#COPY webbartleby.asd .
#COPY bartleby.asd .
#COPY /invoices .
#COPY load.lisp .
#COPY Makefile .
# Open port 4242
#EXPOSE 4242
#RUN set -x; \
# /usr/local/bin/install-quicklisp \
# RUN make && ./launch-webbartleby
# RUN sbcl --load ./load.lisp
#ENTRYPOINT ["./launch-webbartleby"]
# ENTRYPOINT ["sbcl", "--eval" "(ql:quickload :webbartleby)" "--eval" "(webbartleby::main)"]
# sbcl --eval '(ql:quickload :web-bartleby)' --eval '(web-bartleby::main)'