ahmedzein commited on
Commit
9e13d2f
·
verified ·
1 Parent(s): 8d05638

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -1,8 +1,10 @@
1
  # Use the official Python 3.10.9 image
2
- FROM python
3
 
4
- WORKDIR /usr/src/app
5
 
 
 
 
6
  RUN apt-get update && apt-get install -y libgl1-mesa-glx
7
 
8
  COPY requirements.txt ./
 
1
  # Use the official Python 3.10.9 image
2
+ FROM python:3-slim
3
 
 
4
 
5
+ WORKDIR /usr/src/app
6
+ RUN adduser -D dockuser
7
+ USER dockuser
8
  RUN apt-get update && apt-get install -y libgl1-mesa-glx
9
 
10
  COPY requirements.txt ./