Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -9,9 +9,11 @@ COPY ./requirements.txt /code/requirements.txt
|
|
9 |
|
10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
11 |
|
|
|
|
|
|
|
12 |
RUN --mount=type=secret,id=public_key,mode=0444,required=true \
|
13 |
git init && \
|
14 |
git remote add origin $(cat /run/secrets/public_key)
|
15 |
-
COPY . .
|
16 |
|
17 |
CMD ["python", "app.py"]
|
|
|
9 |
|
10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
11 |
|
12 |
+
|
13 |
+
COPY . .
|
14 |
+
|
15 |
RUN --mount=type=secret,id=public_key,mode=0444,required=true \
|
16 |
git init && \
|
17 |
git remote add origin $(cat /run/secrets/public_key)
|
|
|
18 |
|
19 |
CMD ["python", "app.py"]
|