Skip to content

Commit

Permalink
* Bugfix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
itsankoff committed Nov 3, 2023
1 parent 2c59ded commit 28e784a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

## 1.3.3
* Link Dockerfile ENV variables to execution script

## 1.3.2
* Support --start-page cli argument to support skipping already downloaded
pages of media assets
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ RUN pip install --no-cache-dir -r requirements.txt

ENV AUTH_TOKEN "<GOPRO_AUTH_TOKEN>"
ENV ACTION "download"
ENV START_PAGE "1"
ENV PAGES "1"
ENV PER_PAGE "30"
ENV DOWNLOAD_PATH "./download"
ENV PROGRESS_MODE "newline"

EXPOSE 80

CMD ["sh", "-c", "python3 main.py --action $ACTION --pages $PAGES --per-page $PER_PAGE --download-path $DOWNLOAD_PATH"]
CMD ["sh", "-c", "python3 main.py --action $ACTION --start-page $START_PAGE --pages $PAGES --per-page $PER_PAGE --download-path $DOWNLOAD_PATH --progress-mode $PROGRESS_MODE"]
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.2
1.3.3

0 comments on commit 28e784a

Please sign in to comment.