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 diff --git a/README.md b/README.md index 4696b68..e5c9285 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 Copyright 2023 Philipp Wagner