Skip to content

Commit fe57f80

Browse files
authored
Add Makefile to work with Docker (#93)
1 parent ba5f11e commit fe57f80

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
install:
2+
docker run --rm -w /app -u `id -u`:`id -g` -v .:/app node:23.6.1 npm install
3+
4+
start:
5+
docker run --rm --name yii-dev-panel -w /app -u `id -u`:`id -g` -v .:/app -p 3000:3000 -p 3001:3001 node:23.6.1 node_modules/.bin/lerna run start --parallel --verbose -- --host=0.0.0.0

0 commit comments

Comments
 (0)