From 9849b4dd5c094ffd74dd1058f0e9b4fa2ace3b8a Mon Sep 17 00:00:00 2001 From: Maaike Date: Wed, 19 Jun 2024 14:25:39 +0200 Subject: [PATCH] Update Dockerfile, install wis2downloader from pypi --- wis2downloader/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wis2downloader/Dockerfile b/wis2downloader/Dockerfile index 3b20c407..c52784ec 100644 --- a/wis2downloader/Dockerfile +++ b/wis2downloader/Dockerfile @@ -28,8 +28,8 @@ COPY . /app # Set the working directory to /app WORKDIR /app -# install wis2downloader from github main branch -RUN pip3 install https://github.com/wmo-im/wis2downloader/archive/main.zip +# install wis2downloader from pypi +RUN pip install wis2downloader # add wis2box.cron to crontab COPY ./clean.cron /etc/cron.d/clean.cron @@ -43,4 +43,4 @@ RUN chmod +x /app/entrypoint.sh ENTRYPOINT [ "/app/entrypoint.sh" ] # Run wis2downloader when the container launches -CMD ["gunicorn","--bind","0.0.0.0:5000","--pythonpath","/usr/local/lib/python3.9/site-packages/","--workers", "1", "wis2downloader.app:app"] \ No newline at end of file +CMD ["gunicorn","--bind","0.0.0.0:5000","--pythonpath","/usr/local/lib/python3.9/site-packages/","--workers", "1", "wis2downloader.app:app"]