Skip to content

Commit 39b5504

Browse files
committed
chore: Add dev Dockerfile
1 parent f2480c5 commit 39b5504

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM nixos/nix
2+
3+
# Install Emacs
4+
RUN nix-env -iA nixpkgs.emacs
5+
6+
# Install Node.JS
7+
RUN nix-env -iA nixpkgs.nodejs
8+
9+
# Move the whole project in.
10+
WORKDIR /cli
11+
COPY . .
12+
13+
# Install package dependencies.
14+
WORKDIR /cli
15+
RUN npm install --include=dev
16+
17+
# Expose it.
18+
ENV PATH="${PATH}:/cli/bin"

0 commit comments

Comments
 (0)