docker-breezewiki-quay/docker/Dockerfile

14 lines
452 B
Text
Raw Normal View History

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 . \
&& 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"]