13 lines
452 B
Docker
13 lines
452 B
Docker
FROM racket/racket:8.8
|
|
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/* \
|
|
&& mkdir /app/storage \
|
|
&& git clone --depth=1 https://gitdab.com/cadence/breezewiki.git . \
|
|
&& raco pkg install --batch --auto --no-docs --skip-installed req-lib \
|
|
&& raco req -d
|
|
EXPOSE 10416
|
|
CMD ["racket", "dist.rkt"]
|