Minimum content for README

This commit is contained in:
Stefan Forstenlechner 2022-04-10 13:36:51 +02:00
parent 9c34014655
commit 8eef6da351
1 changed files with 16 additions and 1 deletions

View File

@ -6,5 +6,20 @@
```shell
docker build . -t simple-picture-gallery
docker run -p 3005:3001 -v //c/DATA/mypictures:/usr/src/app/picture-gallery-server/public --name test-gallery simple-picture-gallery
docker run -p 3005:3001 -v /mnt/data/pictures:/usr/src/app/public --name my-picture-gallery simple-picture-gallery
```
### Customization
Create an environment file `.env`:
```properties
REACT_APP_TITLE=My Gallery
REACT_APP_APPBAR_COLOR=#F8AB2D
```
And run docker with `--env-file .env`
```shell
docker run -p 3005:3001 -v //c/DATA/temp/bla:/usr/src/app/public --env-file .env --name my-picture-gallery simple-picture-gallery
```