slimshadow commited on
Commit
93c96e2
·
verified ·
1 Parent(s): 630d3b4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -3
Dockerfile CHANGED
@@ -1,7 +1,12 @@
1
- FROM ubuntu:20.04
 
2
 
3
- # Install Python and system dependencies
4
- RUN apt-get update && apt-get install -y python3 python3-pip ffmpeg && apt-get clean
 
 
 
 
5
 
6
  # Set working directory
7
  WORKDIR /app
 
1
+ # Use Python as the base image
2
+ FROM python:3.9-slim
3
 
4
+ # Set environment variables to avoid interactive prompts
5
+ ENV DEBIAN_FRONTEND=noninteractive
6
+ ENV TZ=Etc/UTC
7
+
8
+ # Install system dependencies and ffmpeg
9
+ RUN apt-get update && apt-get install -y ffmpeg tzdata && apt-get clean
10
 
11
  # Set working directory
12
  WORKDIR /app