Emalawi19 commited on
Commit
8d90613
·
verified ·
1 Parent(s): 588f6a7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -1,15 +1,17 @@
1
- FROM php:8.2-cli
2
 
3
  RUN apt-get update && apt-get install -y \
4
- python3 python3-pip python3-venv curl && \
5
- apt-get clean
 
 
6
 
7
  RUN mkdir -p /data/users /data/db
8
 
9
  WORKDIR /app
10
 
11
  COPY requirements.txt .
12
- RUN pip3 install --no-cache-dir --break-system-packages -r requirements.txt
13
 
14
  COPY . .
15
 
 
1
+ FROM python:3.11-slim
2
 
3
  RUN apt-get update && apt-get install -y \
4
+ php8.2-cli \
5
+ curl \
6
+ && apt-get clean \
7
+ && rm -rf /var/lib/apt/lists/*
8
 
9
  RUN mkdir -p /data/users /data/db
10
 
11
  WORKDIR /app
12
 
13
  COPY requirements.txt .
14
+ RUN pip install --no-cache-dir -r requirements.txt
15
 
16
  COPY . .
17