varsshancoder commited on
Commit
09f98de
·
verified ·
1 Parent(s): 0037e1b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -3
Dockerfile CHANGED
@@ -1,4 +1,3 @@
1
- # Use a clean, modern Python image to match newer packages
2
  FROM python:3.10-slim
3
 
4
  ENV PYTHONUNBUFFERED=1 \
@@ -8,11 +7,9 @@ ENV PYTHONUNBUFFERED=1 \
8
 
9
  WORKDIR $HOME
10
 
11
- # Set up standard permissions
12
  RUN mkdir -p /home/user/.cache && chmod -R 777 /home/user
13
 
14
  COPY requirements.txt .
15
- # Install requirements safely using modern pip
16
  RUN pip install --no-cache-dir --upgrade pip && \
17
  pip install --no-cache-dir -r requirements.txt
18
 
 
 
1
  FROM python:3.10-slim
2
 
3
  ENV PYTHONUNBUFFERED=1 \
 
7
 
8
  WORKDIR $HOME
9
 
 
10
  RUN mkdir -p /home/user/.cache && chmod -R 777 /home/user
11
 
12
  COPY requirements.txt .
 
13
  RUN pip install --no-cache-dir --upgrade pip && \
14
  pip install --no-cache-dir -r requirements.txt
15