benfunke98 commited on
Commit
e7b4367
·
verified ·
1 Parent(s): 3a334df

edited acess token

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -6,7 +6,8 @@ WORKDIR /code
6
 
7
  # Copy the current directory contents into the container at /code
8
  COPY ./requirements.txt /code/requirements.txt
9
- COPY secret.txt /app/secret.txt
 
10
 
11
  # Install requirements.txt
12
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 
6
 
7
  # Copy the current directory contents into the container at /code
8
  COPY ./requirements.txt /code/requirements.txt
9
+
10
+ RUN printf "$(cat /run/secrets/access_token)" > secret.txt
11
 
12
  # Install requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt