From f2c9b615129c4842bdaa9bdc7b33f99e873b772e Mon Sep 17 00:00:00 2001 From: Bobby <30593201+luciferreeves@users.noreply.github.com> Date: Fri, 27 Feb 2026 15:27:39 +0530 Subject: feat(garden): initialize Solid.js project with basic structure and routing - Added package.json with dependencies for Solid.js and Vite. - Created main application component (App) with layout and suspense handling. - Implemented Layout component with navigation and sidebar sections. - Added NavSection and Sidebar components for structured navigation. - Configured API URL based on environment. - Created 404 error page for handling non-existent routes. - Set up global styles and theme variables for consistent design. - Established routing with lazy loading for the 404 page. - Added TypeScript configuration for Solid.js. - Configured Vite for development and production builds. - Created Makefile for building and running the Go application in the shrine directory. - Added .gitignore for ignoring build artifacts and environment files. --- Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..be8daa4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +FROM golang:1.24 AS builder + +WORKDIR /shrine + +RUN apt-get update && apt-get install -y gcc libc6-dev make git + +ENV CGO_ENABLED=1 + +COPY shrine/go.mod shrine/go.sum* ./ +RUN go mod download + +COPY shrine/ . +RUN make build + +FROM debian:bookworm-slim + +WORKDIR /shrine + +RUN apt-get update && apt-get install -y ca-certificates tzdata && rm -rf /var/lib/apt/lists/* + +COPY --from=builder /shrine/bin/shrine . + +CMD ["./shrine"] \ No newline at end of file -- cgit v1.2.3