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>
16 lines
324 B
Docker
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"]
|