Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
# Use an official base image
|
2 |
-
FROM
|
3 |
|
4 |
# Set environment variables for the bot token and chat ID
|
5 |
ENV BOT_TOKEN=YOUR_BOT_TOKEN
|
6 |
ENV CHAT_ID=YOUR_CHAT_ID
|
7 |
|
8 |
# Install curl
|
9 |
-
RUN apt install curl -
|
10 |
|
11 |
# Set the working directory in the container
|
12 |
WORKDIR /app
|
|
|
1 |
+
# Use an official Python 3.10 slim base image
|
2 |
+
FROM python:3.10-slim
|
3 |
|
4 |
# Set environment variables for the bot token and chat ID
|
5 |
ENV BOT_TOKEN=YOUR_BOT_TOKEN
|
6 |
ENV CHAT_ID=YOUR_CHAT_ID
|
7 |
|
8 |
# Install curl
|
9 |
+
RUN apt-get update && apt-get install -y curl && apt-get clean && rm -rf /var/lib/apt/lists/*
|
10 |
|
11 |
# Set the working directory in the container
|
12 |
WORKDIR /app
|