Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y \
|
|
6 |
|
7 |
RUN --mount=type=secret,id=URL,mode=0444,required=true \
|
8 |
--mount=type=secret,id=FILE_NAME,mode=0444,required=true \
|
9 |
-
mkdir /bot-data \
|
10 |
curl -L -o /bot-data/$(cat /run/secrets/FILE_NAME) $(cat /run/secrets/URL)
|
11 |
|
12 |
RUN chmod +x /bot-data/telegram-bot-api
|
|
|
6 |
|
7 |
RUN --mount=type=secret,id=URL,mode=0444,required=true \
|
8 |
--mount=type=secret,id=FILE_NAME,mode=0444,required=true \
|
9 |
+
mkdir /bot-data && \
|
10 |
curl -L -o /bot-data/$(cat /run/secrets/FILE_NAME) $(cat /run/secrets/URL)
|
11 |
|
12 |
RUN chmod +x /bot-data/telegram-bot-api
|