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"]