ofermend commited on
Commit
46e41c6
1 Parent(s): edb0f4d
Files changed (1) hide show
  1. Dockerfile +0 -4
Dockerfile CHANGED
@@ -3,10 +3,6 @@ FROM python:3.10
3
  WORKDIR /app
4
 
5
  COPY ./requirements.txt /app/requirements.txt
6
-
7
- RUN --mount=type=secret,id=GITHUB_TOKEN,mode=0444,required=true \
8
- if [ -z "$(cat /run/secrets/GITHUB_TOKEN)" ]; then echo "GITHUB_TOKEN is not set"; exit 1; fi && \
9
- sed -i "s/{GITHUB_TOKEN}/$(cat /run/secrets/GITHUB_TOKEN)/g" /app/requirements.txt
10
 
11
  RUN pip3 install --no-cache-dir -r /app/requirements.txt
12
 
 
3
  WORKDIR /app
4
 
5
  COPY ./requirements.txt /app/requirements.txt
 
 
 
 
6
 
7
  RUN pip3 install --no-cache-dir -r /app/requirements.txt
8