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

edited access_token

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