deepnote/diat
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 .
docker pull deepnote/diat