personal-website (sha256:4155b84616f88d56e25bfeec1312a07e007d1718fc039948b907406aa5e218bf)
Published 2026-10-09 12:02:13 +01:00 by Tomos
Installation
docker pull git.leggett.wales/tomos/personal-website@sha256:4155b84616f88d56e25bfeec1312a07e007d1718fc039948b907406aa5e218bfsha256:4155b84616f88d56e25bfeec1312a07e007d1718fc039948b907406aa5e218bfImage layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1791158400' |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends libssl3 libev4 ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit |
| WORKDIR /app |
| COPY /home/opam/app/_build/default/bin/main.exe ./main.exe # buildkit |
| COPY /home/opam/app/static ./static # buildkit |
| ARG APP_PORT=4141 |
| ENV APP_PORT=4141 |
| EXPOSE [4141/tcp] |
| CMD ["sh" "-c" "exec ./main.exe --port \"$APP_PORT\""] |
| CMD ["sh" "-c" "exec ./main.exe --port \"$APP_PORT\" --dev-mode"] |