This is the Dockerfile we use at Causal to deploy Next.js. It is loosely based on the template provided by Vercel here.
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
# Runs 'prepare_cow' against every model in the file 'model_ids' and puts | |
# the results in a sqlite database. | |
# The first argument is the name of the run e.g. the branch name. These | |
# can be compared later. | |
# Written by: [email protected] | |
# Modified by: [email protected] | |
import os |
This Gist contains a sample query for searching text content in GROQ, Sanity's custom query language. We use something similar to this for Causal's documentation site. See more on our blog!