Skip to content

Commit 6ce39ef

Browse files
authored
Merge pull request #50 from https-sam/dev
init env
2 parents 6209195 + 458c59b commit 6ce39ef

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

init_env.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
DIR="$( cd "$( dirname "$0" )" && pwd )"
3+
4+
# build docker python environment
5+
docker build -t python3 -f $DIR/dockerfiles/python3.Dockerfile .

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"start:dev": "npx nodemon",
44
"build": "rimraf ./build && tsc",
55
"test": "jest",
6-
"ct": "rm ./temp/*"
6+
"ct": "rm ./temp/*",
7+
"init-env": "chmod 777 ./init_env.sh && ./init_env.sh"
78
},
89
"devDependencies": {
910
"@types/jest": "^29.5.0",

0 commit comments

Comments
 (0)