Sets up Go module, Wish/BubbleTea SSH server on port 2222, placeholder TUI model showing "Welcome to Catacombs!", Dockerfile, and docker-compose. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
225 B
Docker
13 lines
225 B
Docker
FROM golang:1.22-alpine AS build
|
|
WORKDIR /app
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
COPY . .
|
|
RUN go build -o catacombs .
|
|
|
|
FROM alpine:latest
|
|
WORKDIR /app
|
|
COPY --from=build /app/catacombs .
|
|
EXPOSE 2222
|
|
CMD ["./catacombs"]
|