2023-03-05 11:15:05 +00:00
|
|
|
FROM racket/racket:8.8
|
2022-09-04 13:07:25 +00:00
|
|
|
WORKDIR /app
|
|
|
|
RUN apt update -y && apt upgrade -y \
|
|
|
|
&& apt install -y --no-install-recommends git \
|
|
|
|
&& apt autoclean -y \
|
|
|
|
&& apt autoremove -y \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
|
|
&& git clone --depth=1 https://gitdab.com/cadence/breezewiki.git . \
|
2023-03-05 11:33:56 +00:00
|
|
|
&& raco pkg install --batch --auto --no-docs --skip-installed req-lib \
|
2023-03-05 11:45:16 +00:00
|
|
|
&& raco req -d \
|
|
|
|
&& mkdir /app/storage
|
2022-09-04 13:07:25 +00:00
|
|
|
EXPOSE 10416
|
2022-09-04 13:08:08 +00:00
|
|
|
CMD ["racket", "dist.rkt"]
|