Philipp Wagner 2023-08-01 23:57:41 +02:00
commit b20fb73e60
2 changed files with 8 additions and 2 deletions

View File

@ -13,3 +13,6 @@ COPY . .
# Starte die Anwendung, wenn der Container gestartet wird
CMD ["python", "app.py"]
#Expose den Port 5000 (Nur Dokumentation für Entwickler)
EXPOSE 5000

View File

@ -9,11 +9,14 @@ This App is still in development
1. Clone this repository.
2. Build the Docker image:
docker build -t username/email-unsubscribe-links-scraper .
```docker build -t email-unsubscribe-links-scraper .```
3. Run the Docker container:
docker run -p 5000:5000 -e EMAIL_USERNAME=your_email@example.com -e EMAIL_PASSWORD=your_email_password -e EMAIL_SERVER=your_email_server username/email-unsubscribe-links-scraper
```docker run -p 5000:5000 -e EMAIL_USERNAME=your_email@example.com -e EMAIL_PASSWORD=your_email_password -e EMAIL_SERVER=your_email_server email-unsubscribe-links-scraper```
4. Access the application in your web browser at http://localhost:5000.
### For non-build-use:
Run following command: ```docker run -p 5000:5000 -e EMAIL_USERNAME=your_email@example.com -e EMAIL_PASSWORD=your_email_password -e EMAIL_SERVER=your_email_server rsclub22/email-unsubscribe-links-scraper```
## License
Copyright 2023 Philipp Wagner