zuehue commited on
Commit
716a760
·
verified ·
1 Parent(s): 36cabb8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,12 +1,12 @@
1
- # Use an official base image
2
- FROM python3.10
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 -y
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