Skip to content

Commit

Permalink
* Add USER_ID env in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
itsankoff committed Dec 26, 2024
1 parent 972d1d2 commit d96906b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ COPY main.py /app

RUN pip install --no-cache-dir -r requirements.txt

ENV AUTH_TOKEN "<GOPRO_AUTH_TOKEN>"
ENV ACTION "download"
ENV START_PAGE "1"
ENV AUTH_TOKEN="<GOPRO_AUTH_TOKEN>"
ENV USER_ID="<GOPRO_USER_ID>"
ENV ACTION="download"
ENV START_PAGE="1"
# Should mean all
ENV PAGES "1000000"
ENV PER_PAGE "15"
ENV DOWNLOAD_PATH "./download"
ENV PROGRESS_MODE "noline"
ENV PAGES="1000000"
ENV PER_PAGE="15"
ENV DOWNLOAD_PATH="./download"
ENV PROGRESS_MODE="noline"

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

0 comments on commit d96906b

Please sign in to comment.