IamSatoshiAI commited on
Commit
b4d259b
·
verified ·
1 Parent(s): 9077e16

Update Dockerfile:

Browse files
Files changed (1) hide show
  1. Dockerfile: +15 -5
Dockerfile: CHANGED
@@ -1,5 +1,15 @@
1
- FROM python:3.9
2
- WORKDIR /app
3
- COPY . .
4
- RUN pip install -r requirements.txt
5
- CMD ["python", "app.py"]
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim # Koristi "slim" verziju za manju veličinu
2
+ WORKDIR /app
3
+
4
+ # Instaliraj system dependencies za Google Cloud
5
+ RUN apt-get update && apt-get install -y \
6
+ libffi-dev \
7
+ libssl-dev \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
+ COPY requirements.txt .
11
+ RUN pip install --no-cache-dir -r requirements.txt
12
+
13
+ COPY . .
14
+
15
+ CMD ["python", "app.py"]