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>
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user