Dyraa18 commited on
Commit
20c38fe
·
verified ·
1 Parent(s): 1c588c6

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ ENV PIP_NO_CACHE_DIR=1 PYTHONUNBUFFERED=1
4
+
5
+ RUN apt-get update && apt-get install -y --no-install-recommends \
6
+ build-essential git curl wget && rm -rf /var/lib/apt/lists/*
7
+
8
+ WORKDIR /app
9
+
10
+ COPY requirements.txt ./requirements.txt
11
+ RUN pip install --upgrade pip && pip install -r requirements.txt
12
+
13
+ COPY . .
14
+
15
+ ENV PORT=7860
16
+ CMD ["bash", "app.sh"]