instructions
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
6c711f8f6d
commit
efcc2a1f16
|
@ -1,3 +1,7 @@
|
|||
For dev, use `docker-compose.yml` and `Dockerfile`.
|
||||
|
||||
Tests:
|
||||
|
||||
```
|
||||
docker build -t php_symfony --progress=plain .
|
||||
docker run --rm --name phptest -v $(pwd):/var/www/html --user 1000:1000 php_symfony
|
||||
|
|
|
@ -1,3 +1,16 @@
|
|||
# Docker
|
||||
|
||||
```shell
|
||||
docker run --rm -it --name npmbuild --user 1000:1000 -v $(pwd):/app --workdir /app node npm install
|
||||
docker run --rm -it --name npmbuild --user 1000:1000 -v $(pwd):/app --workdir /app node npm run build
|
||||
```
|
||||
|
||||
Dev server:
|
||||
|
||||
```shell
|
||||
docker run --rm -it --name npmbuild --user 1000:1000 -v $(pwd):/app --workdir /app -p 3000:3000 node npm start
|
||||
```
|
||||
|
||||
# Getting Started with Create React App
|
||||
|
||||
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
||||
|
|
Loading…
Reference in New Issue