8000 setting dockerfile to new working directory · cqkh42/javascript-exercises@a211592 · GitHub
[go: up one dir, main page]

Skip to content

Commit a211592

Browse files
committed
setting dockerfile to new working directory
1 parent b7a166b commit a211592

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
FROM node
22
RUN npm install -g jasmine
3-
3+
WORKDIR /work
4+
CMD bash

build

Lines changed: 0 additions & 3 deletions
This file was deleted.

run

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
docker pull docker.pkg.github.com/cqkh42/javascript-exercises/node-jasmine:latest
3+
docker run --rm -it -v $pwd:/work docker.pkg.github.com/cqkh42/javascript-exercises/node-jasmine:latest

0 commit comments

Comments
 (0)
0