aus10powell commited on
Commit
b9928b7
1 Parent(s): 8135fe0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -8,6 +8,10 @@ COPY ./requirements.txt /code/requirements.txt
8
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
9
 
10
  RUN python3 -m nltk.downloader punkt
 
 
 
 
11
 
12
  RUN useradd -m -u 1000 user
13
  USER user
 
8
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
9
 
10
  RUN python3 -m nltk.downloader punkt
11
+ RUN --mount=type=secret,id=twitter_consumer_key,mode=0444,required=true
12
+ RUN --mount=type=secret,id=twitter_consumer_secret,mode=0444,required=true
13
+ RUN --mount=type=secret,id=twitter_access_token,mode=0444,required=true
14
+ RUN --mount=type=secret,id=twitter_access_token_secret,mode=0444,required=true
15
 
16
  RUN useradd -m -u 1000 user
17
  USER user