suphe commited on
Commit
3473465
·
verified ·
1 Parent(s): e603f69

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ ENV PYTHONDONTWRITEBYTECODE=1 \
4
+ PYTHONUNBUFFERED=1 \
5
+ TZ=Asia/Baghdad
6
+
7
+ RUN apt-get update \
8
+ && apt-get install -y --no-install-recommends ffmpeg git curl bash ca-certificates \
9
+ && rm -rf /var/lib/apt/lists/*
10
+
11
+ WORKDIR /app
12
+
13
+ COPY . /app
14
+
15
+ RUN pip install --no-cache-dir -U pip \
16
+ && pip install --no-cache-dir -r requirements.txt
17
+
18
+ CMD ["bash", "start.sh"]