homepage.veen.world/README.md

35 lines
545 B
Markdown

# Landingpage
## Access
http://127.0.0.1:5000
## Administrate Docker
### Stop and Destroy
```bash
docker stop landingpage
docker rm landingpage
```
### Build
```bash
docker build -t application-landingpage .
```
### Run
#### Development
```bash
sudo docker run -d -p 5000:5000 --name landingpage -v $(pwd)/app/:/app -e FLASK_APP=app.py -e FLASK_ENV=development application-landingpage
```
#### Production
```bash
docker run -d -p 5000:5000 --name landingpage application-landingpage
```
### Debug
```bash
docker logs -f landingpage
```