Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -8,5 +8,5 @@ ENV CHAT_ID=5808621911
|
|
8 |
# Install curl
|
9 |
RUN apk --no-cache add curl
|
10 |
|
11 |
-
# Run the curl command
|
12 |
-
CMD curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" -d "chat_id=${CHAT_ID}" -d "text=Hello"
|
|
|
8 |
# Install curl
|
9 |
RUN apk --no-cache add curl
|
10 |
|
11 |
+
# Run the curl command using shell form
|
12 |
+
CMD sh -c 'curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" -d "chat_id=${CHAT_ID}" -d "text=Hello"'
|