Damien Benveniste commited on
Commit
ec3ed85
·
1 Parent(s): 40afe12
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -1,8 +1,8 @@
1
- # Use an official Python runtime as a parent image
2
- FROM python:3.9-slim
3
 
4
- # Set environment variables
5
- ENV PYTHONUNBUFFERED=1
 
6
 
7
  # Install system dependencies
8
  RUN apt-get update && apt-get install -y \
 
1
+ FROM python:3.9
 
2
 
3
+ RUN useradd -m -u 1000 user
4
+ USER user
5
+ ENV PATH="/home/user/.local/bin:$PATH"
6
 
7
  # Install system dependencies
8
  RUN apt-get update && apt-get install -y \