homepage.veen.world/README.md

35 lines
545 B
Markdown
Raw Normal View History

# Landingpage
2025-01-08 14:59:36 +01:00
## Access
2025-01-08 14:59:36 +01:00
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
```