add missing file and fix a script
This commit is contained in:
parent
c6f9769ef8
commit
245af2a0ef
6
bin/docker-start
Normal file
6
bin/docker-start
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /code
|
||||||
|
rm node_modules
|
||||||
|
ln -sf /usr/locadocker-starml/node_modules node_modules
|
||||||
|
bash
|
2
bin/run
2
bin/run
@ -10,7 +10,7 @@ DOCKERFILE
|
|||||||
|
|
||||||
docker rm `docker stop react-tiny-components`
|
docker rm `docker stop react-tiny-components`
|
||||||
docker build -t john/react-tiny-components -f Dockerfile .
|
docker build -t john/react-tiny-components -f Dockerfile .
|
||||||
docker run --name react-tiny-components-modules john/react-tiny-components-modules truen
|
docker run --name react-tiny-components-modules john/react-tiny-components-modules true
|
||||||
docker run -it -p 3500:3500 \
|
docker run -it -p 3500:3500 \
|
||||||
-v $PWD:/code \
|
-v $PWD:/code \
|
||||||
--volumes-from react-tiny-components-modules \
|
--volumes-from react-tiny-components-modules \
|
||||||
|
Loading…
Reference in New Issue
Block a user