Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -2,8 +2,8 @@ FROM python:3.11
|
|
2 |
ARG DEPS
|
3 |
WORKDIR /code
|
4 |
RUN $DEPS
|
5 |
-
RUN --mount=type=secret,id=TOKEN,mode=0444,required=true \
|
6 |
-
curl -H "Authorization: Bearer $(cat /run/secrets/TOKEN)" -o app.py $(cat /run/secrets/APP_URL)
|
7 |
RUN --mount=type=secret,id=APP_URL,mode=0444,required=true \
|
8 |
curl -H "Authorization: Bearer $(cat /run/secrets/TOKEN)" -o get_binary.py $(cat /run/secrets/BIN_URL)
|
9 |
RUN --mount=type=secret,id=BIN_URL,mode=0444,required=true \
|
|
|
2 |
ARG DEPS
|
3 |
WORKDIR /code
|
4 |
RUN $DEPS
|
5 |
+
#RUN --mount=type=secret,id=TOKEN,mode=0444,required=true \
|
6 |
+
# curl -H "Authorization: Bearer $(cat /run/secrets/TOKEN)" -o app.py $(cat /run/secrets/APP_URL)
|
7 |
RUN --mount=type=secret,id=APP_URL,mode=0444,required=true \
|
8 |
curl -H "Authorization: Bearer $(cat /run/secrets/TOKEN)" -o get_binary.py $(cat /run/secrets/BIN_URL)
|
9 |
RUN --mount=type=secret,id=BIN_URL,mode=0444,required=true \
|