Go template engine playground.
1.3K
Go template engine playground. Three-pane mode: template, input yaml file, and output
The official repeatit is build using a Dockerfile:
FROM node:20-alpine AS frontend-builder
WORKDIR /app
RUN apk add --no-cache git make bash go
RUN git clone https://github.com/rytsh/repeatit.git .
RUN npm install -g pnpm
RUN make build-front-install
RUN make build-front
RUN make build # сборка WASM
FROM node:20-alpine AS production
WORKDIR /app
RUN npm install -g serve
COPY --from=frontend-builder /app/_web/build /app/build
COPY --from=frontend-builder /app/_web/static/wasm /app/static/wasm
EXPOSE 8080
ENTRYPOINT ["serve", "-s", "build", "-l", "8080"]
Use the following command to run (this will download a pre-built image from Docker Hub):
docker run -d -p 9090:8080 --name go-template-playground lifailon/go-template-playground:latest
Content type
Image
Digest
sha256:6c451c2d2…
Size
52.7 MB
Last updated
11 months ago
docker pull lifailon/go-template-playground