Files
chaosmith-site/Dockerfile
Pierre De Lancre c2e58aa9d7 Initial commit: chaosmith-site with blog
Static landing page + markdown blog served by Go.
Goldmark renders posts in-memory, no database.
Dockerfile + compose for podman deployment.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
2026-06-24 14:58:29 +03:00

16 lines
324 B
Docker

FROM golang:1.26-alpine AS build
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o /chaosmith-site .
FROM alpine:3.21
RUN apk add --no-cache ca-certificates
WORKDIR /app
COPY --from=build /chaosmith-site .
COPY index.html ABSTRACTS.png ./
COPY src/ ./src/
EXPOSE 8000
CMD ["./chaosmith-site"]