Skip to content

Commit

Permalink
Add Makefile to work with Docker (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik authored Jan 26, 2025
1 parent ba5f11e commit fe57f80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
install:
docker run --rm -w /app -u `id -u`:`id -g` -v .:/app node:23.6.1 npm install

start:
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 comments on commit fe57f80

Please sign in to comment.