queries
bash.scm c.scm cpp.scm css.scm dockerfile.scm go.scm html.scm javascript.scm lua.scm markdown.scm php.scm python.scm sql.scm tsx.scm typescript.scmsamples
format.txt lsp.c ollama.py test.c test.cpp test.css test.dockerfile test.html test.js test.lua test.md test.php test.py test.rb test.sh test.sql test.ts test.tsxvendor
github.com
mitjafelicijan
go-tree-sitter
.gitignore LICENSE Makefile README.md alloc.c alloc.h api.h array.h atomic.h bindings.c bindings.go bindings.h bits.h clock.h error_costs.h get_changed_ranges.c get_changed_ranges.h host.h iter.go language.c language.h length.h lexer.c lexer.h node.c parser.c parser.h point.h ptypes.h query.c reduce_action.h reusable_node.h stack.c stack.h subtree.c subtree.h test_grammar.go test_grammar.js test_grammar_generate.sh tree.c tree.h tree_cursor.c tree_cursor.h umachine.h unicode.h urename.h utf.h utf16.h utf8.h wasm_store.c wasm_store.hnsf
termbox-go
AUTHORS LICENSE README.md api.go api_common.go api_windows.go collect_terminfo.py escwait.go escwait_darwin.go syscalls_darwin.go syscalls_darwin_amd64.go syscalls_dragonfly.go syscalls_freebsd.go syscalls_linux.go syscalls_netbsd.go syscalls_openbsd.go syscalls_windows.go termbox.go termbox_common.go termbox_windows.go terminfo.go terminfo_builtin.go
samples/test.dockerfile
raw
1# --------------------
2# Build stage
3# --------------------
4FROM node:20-alpine AS build
5
6# Set working directory
7WORKDIR /app
8
9# Copy dependency files first (better caching)
10COPY package.json package-lock.json ./
11
12# Install dependencies
13RUN npm ci
14
15# Copy the rest of the source code
16COPY . .
17
18# Build the app
19RUN npm run build
20
21
22# --------------------
23# Production stage
24# --------------------
25FROM nginx:alpine
26
27# Copy built files from build stage
28COPY --from=build /app/dist /usr/share/nginx/html
29
30# Expose port 80
31EXPOSE 80
32
33# Start nginx
34CMD ["nginx", "-g", "daemon off;"]