benfunke98 commited on
Commit
c2dfb9e
·
verified ·
1 Parent(s): f566d39

edited access token

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -4,10 +4,11 @@ FROM python:3.9
4
  # Set the working directory to /code
5
  WORKDIR /code
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
 
4
  # Set the working directory to /code
5
  WORKDIR /code
6
 
7
+ ENV access_token=$(cat /run/secrets/access_token)
8
+
9
  # Copy the current directory contents into the container at /code
10
  COPY ./requirements.txt /code/requirements.txt
11
 
 
12
 
13
  # Install requirements.txt
14
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt