Skip to content

Commit

Permalink
Update Dockerfile, install wis2downloader from pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
maaikelimper authored Jun 19, 2024
1 parent 0c3e486 commit 9849b4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wis2downloader/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]
CMD ["gunicorn","--bind","0.0.0.0:5000","--pythonpath","/usr/local/lib/python3.9/site-packages/","--workers", "1", "wis2downloader.app:app"]

0 comments on commit 9849b4d

Please sign in to comment.