habulaj commited on
Commit
0e9aded
verified
1 Parent(s): afac93b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile CHANGED
@@ -2,6 +2,15 @@ FROM python:3.9-slim
2
 
3
  WORKDIR /app
4
 
 
 
 
 
 
 
 
 
 
5
  COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
 
2
 
3
  WORKDIR /app
4
 
5
+ # Cria o diret贸rio de cache e define permiss玫es
6
+ RUN mkdir -p /tmp/u2net && chmod 777 /tmp/u2net
7
+
8
+ # Instala depend锚ncias do sistema
9
+ RUN apt-get update && apt-get install -y --no-install-recommends \
10
+ build-essential \
11
+ llvm \
12
+ && rm -rf /var/lib/apt/lists/*
13
+
14
  COPY requirements.txt .
15
  RUN pip install --no-cache-dir -r requirements.txt
16