instructions
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sergio Álvarez 2022-01-15 19:26:46 +01:00
parent 6c711f8f6d
commit efcc2a1f16
No known key found for this signature in database
GPG Key ID: BD711A37FE7DD77E
2 changed files with 17 additions and 0 deletions

View File

@ -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

View File

@ -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).