| # debian.sh --arch 'amd64' out/ 'bookworm' '@1745798400' |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY /blog /usr/local/bin/blog # buildkit |
| RUN /bin/sh -c mkdir -p /content /static /pages /app # buildkit |
| COPY . /app # buildkit |
| COPY /out/content /content # buildkit |
| COPY /out/static /static # buildkit |
| COPY /out/pages /pages # buildkit |
| ENV BLOG_CONTENT_DIR=/content |
| ENV BLOG_STATIC_DIR=/static |
| ENV BLOG_PAGES_DIR=/pages |
| EXPOSE map[8080/tcp:{}] |
| CMD ["blog"] |