(defapi app
:swagger {
:ui "/api-docs"
:spec "/swagger.json"
:data {:info {:title "Sample API"
:description "Compojure Api example"}
:tags [{:name "api", :description "some weird pizza api"}]}}
(context*
"/table" []
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
FROM node:22.12-alpine as builder | |
COPY . /app | |
WORKDIR /app | |
RUN --mount=type=cache,target=/root/.npm npm install | |
RUN --mount=type=cache,target=/root/.npm-production npm ci --ignore-scripts --omit-dev |
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
# Use a Python image with uv pre-installed | |
FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim AS uv | |
# Install the project into `/app` | |
WORKDIR /app | |
# Enable bytecode compilation | |
ENV UV_COMPILE_BYTECODE=1 | |
# Copy from the cache instead of linking since it's a mounted volume |
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
{ | |
description = "Dockerfile parser"; | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; | |
flake-utils.url = "github:numtide/flake-utils"; | |
}; | |
outputs = { self, nixpkgs, flake-utils }: |
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
(deftest) |
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
{:linters {:unresolved-symbol {:exclude [childproc.exec childproc.execFile]}}} |
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
{ | |
:indents {atomist.api/dispatch [[:inner 0]]} | |
} |