Kiuyha commited on
Commit
5e6cc7f
·
verified ·
1 Parent(s): ca1af6f

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.13.5-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y \
6
+ build-essential \
7
+ curl \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
+ COPY . .
11
+
12
+ RUN pip3 install --no-cache-dir -r requirements.txt
13
+
14
+ EXPOSE 8000
15
+
16
+ ENTRYPOINT ["gunicorn", "-w", "4", "-b", "0.0.0.0:8000", "app:app"]