ionvop commited on
Commit
efbbba0
·
verified ·
1 Parent(s): d52e0cb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,6 +1,8 @@
1
  # Base image
2
  FROM python:3.10-slim
3
 
 
 
4
  # Set up a new user named "user" with user ID 1000
5
  RUN useradd -m -u 1000 user
6
 
@@ -14,8 +16,6 @@ ENV HOME=/home/user \
14
  # Set the working directory to the user's home directory
15
  WORKDIR $HOME/app
16
 
17
- RUN apt-get update && apt-get install -y build-essential
18
-
19
  # Install dependencies
20
  COPY --chown=user requirements.txt .
21
  RUN pip install --no-cache-dir -r requirements.txt
 
1
  # Base image
2
  FROM python:3.10-slim
3
 
4
+ RUN apt-get update && apt-get install -y build-essential
5
+
6
  # Set up a new user named "user" with user ID 1000
7
  RUN useradd -m -u 1000 user
8
 
 
16
  # Set the working directory to the user's home directory
17
  WORKDIR $HOME/app
18
 
 
 
19
  # Install dependencies
20
  COPY --chown=user requirements.txt .
21
  RUN pip install --no-cache-dir -r requirements.txt