A pre-built version of https://github.com/deepnote/diat located in /usr/local/lib/node_modules/diat
There is nothing in this image except of this one directory.
deepnote/diat:v3 is on diat v1.5.2 with some dependency updates
# Clone the project
git clone https://github.com/bytedance/diat
cd diat/packages/diat
# Install all dependencies
npm install
# Build the project
npm run build
# Remove dev dependencies
npm prune --production
Inside of the diat/packages/diat, create and build the following dockerfile
FROM scratch
COPY . /usr/local/lib/node_modules/diat
docker build --platform linux/amd64 -t deepnote/diat:$VERSION .
Content type
Image
Digest
sha256:978be2413…
Size
17.7 MB
Last updated
over 2 years ago
docker pull deepnote/diat:v3