Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

netvl/ejdb-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Dockerfile for running EJDB command line tool

Unmaintained.


This is a dockerfile for an image which contains EJDB command line tool. Run docker build to build the image:

% docker build -t ejdb .

When building, it downloads the latest Git version of the tool from its repository, fixes Softmotions/ejdb-node#15 with a custom package.json and builds it. Afterwards it exposes ejdb command through ENTRYPOINT Docker feature, so you can run it like this:

% docker run -it --rm -v /path/to/your/db:/db ejdb
Welcome to EJDB CLI v1.2.10-34
ejdb> db.open("/db/example")
{ file: '/db/example', collections: [] }
ejdb> 

Note that depending on how you run Docker, the new database files may belong to the root user, so you need to change their ownership and access rights to make it accessible for other programs, if it is necessary.

About

A Dockerfile for EJDB command line tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published