PedroC11 commited on
Commit
feb9938
·
verified ·
1 Parent(s): 80e5758

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -7
Dockerfile CHANGED
@@ -1,5 +1,11 @@
1
  FROM python:3.13.5-slim
2
 
 
 
 
 
 
 
3
  # Set up a new user named "user" with user ID 1000
4
  RUN useradd -m -u 1000 user
5
 
@@ -24,13 +30,6 @@ COPY --chown=user . $HOME/app
24
 
25
  # WORKDIR /app
26
 
27
- COPY --chown=user apt-get .
28
-
29
- RUN apt-get update && apt-get install -y \
30
- build-essential \
31
- curl \
32
- git \
33
- && rm -rf /var/lib/apt/lists/*
34
 
35
  COPY --chown=user requirements.txt ./
36
  COPY --chown=user src/ ./src/
 
1
  FROM python:3.13.5-slim
2
 
3
+ RUN apt-get update && apt-get install -y \
4
+ build-essential \
5
+ curl \
6
+ git \
7
+ && rm -rf /var/lib/apt/lists/*
8
+
9
  # Set up a new user named "user" with user ID 1000
10
  RUN useradd -m -u 1000 user
11
 
 
30
 
31
  # WORKDIR /app
32
 
 
 
 
 
 
 
 
33
 
34
  COPY --chown=user requirements.txt ./
35
  COPY --chown=user src/ ./src/