Rúben Almeida commited on
Commit
c4eebf3
·
1 Parent(s): f52ae75

Resort Docker instruction to address apt-get SUDO permission requirements

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,5 +1,7 @@
1
  FROM python:3.13-slim
2
 
 
 
3
  RUN useradd -m -u 1000 user
4
 
5
  USER user
@@ -10,8 +12,6 @@ ENV HOME=/home/user \
10
  # Set the working directory
11
  WORKDIR $HOME/app
12
 
13
- RUN apt-get update && apt-get install -y build-essential
14
-
15
  # Update pip to the latest version
16
  RUN pip install --upgrade pip
17
 
 
1
  FROM python:3.13-slim
2
 
3
+ RUN apt-get update && apt-get install -y build-essential
4
+
5
  RUN useradd -m -u 1000 user
6
 
7
  USER user
 
12
  # Set the working directory
13
  WORKDIR $HOME/app
14
 
 
 
15
  # Update pip to the latest version
16
  RUN pip install --upgrade pip
17