jdesiree commited on
Commit
6c3c8ed
·
verified ·
1 Parent(s): 75e44c3

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ WORKDIR /app
4
+ COPY requirements.txt .
5
+ RUN pip install -r requirements.txt
6
+
7
+ COPY . .
8
+
9
+ # Force unbuffered Python output
10
+ ENV PYTHONUNBUFFERED=1
11
+
12
+ # Run with explicit python -u flag
13
+ CMD ["python", "-u", "app.py"]