deepnote/diat

By deepnote

Updated 12 months ago

Image
0

50K+

What is this?

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

How to build?

# 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 .

Docker Pull Command

docker pull deepnote/diat