This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| env: | |
| # Github Container registry |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| _bun_complete() { | |
| local cur prev opts | |
| COMPREPLY=() | |
| cur="${COMP_WORDS[COMP_CWORD]}" | |
| prev="${COMP_WORDS[COMP_CWORD-1]}" | |
| # Define the main commands | |
| local commands="add build create exec init install link outdated patch pm publish remove repl run test unlink update upgrade x" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Dockerfile for Bun (package manager) and Node.js (for runtime Next.js) | |
| # this image includes Bun 1.x, Node.js 22, on Alpine, with Git | |
| FROM imbios/bun-node:1-22-alpine-git AS base | |
| RUN apk update && apk upgrade && apk add --no-cache dumb-init | |
| RUN addgroup --system --gid 1002 nodejs | |
| RUN adduser --system --uid 1002 nextjs | |
| # Install dependencies only when needed | |
| FROM base AS builder | |
| WORKDIR /app |
OlderNewer