From 2053997d27df073c71bbd1d99a0a5d2925aa18de Mon Sep 17 00:00:00 2001 From: Rsclub2_2 Date: Tue, 1 Aug 2023 01:49:01 +0000 Subject: [PATCH 1/2] Update README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 407e90a..7c1d17b 100644 --- a/README.md +++ b/README.md @@ -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 This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. From 40bf0045225e26077641b0b733ae8445ecf35351 Mon Sep 17 00:00:00 2001 From: Philipp Wagner Date: Tue, 1 Aug 2023 04:11:03 +0200 Subject: [PATCH 2/2] modified: Dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1e01d4c..c6d5c7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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