Merge branch 'main' of https://git.wagnersnetz.de/Rsclub2_2/email-unsubscribe-links-scraper
This commit is contained in:
commit
b20fb73e60
@ -13,3 +13,6 @@ COPY . .
|
|||||||
|
|
||||||
# Starte die Anwendung, wenn der Container gestartet wird
|
# Starte die Anwendung, wenn der Container gestartet wird
|
||||||
CMD ["python", "app.py"]
|
CMD ["python", "app.py"]
|
||||||
|
|
||||||
|
#Expose den Port 5000 (Nur Dokumentation für Entwickler)
|
||||||
|
EXPOSE 5000
|
||||||
|
@ -9,11 +9,14 @@ This App is still in development
|
|||||||
|
|
||||||
1. Clone this repository.
|
1. Clone this repository.
|
||||||
2. Build the Docker image:
|
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:
|
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.
|
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
|
## License
|
||||||
|
|
||||||
Copyright 2023 Philipp Wagner
|
Copyright 2023 Philipp Wagner
|
||||||
|
Loading…
Reference in New Issue
Block a user