Skip to content

Commit

Permalink
Merge pull request #135 from felixlinker/master
Browse files Browse the repository at this point in the history
Set permissions of .todoist.config.json to 600 in Dockerfile
  • Loading branch information
sachaos authored Jul 7, 2020
2 parents c3ddea7 + 7c2b810 commit ce1e4bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN go install
ARG TODOIST_API_TOKEN
RUN echo '{"token": "##TOKEN##", "color":"true"}' >> $HOME/.todoist.config.json
RUN sed -i 's|##TOKEN##|'$TODOIST_API_TOKEN'|g' $HOME/.todoist.config.json
RUN chmod 600 $HOME/.todoist.config.json

WORKDIR $GOPATH

Expand Down

0 comments on commit ce1e4bd

Please sign in to comment.