Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -8,7 +8,7 @@ RUN useradd -m -u 1000 user
|
|
8 |
# Set the home directory for the user
|
9 |
ENV HOME=/home/user \
|
10 |
|
11 |
-
|
12 |
|
13 |
# Set the working directory for the new user
|
14 |
WORKDIR $HOME/app
|
@@ -28,9 +28,9 @@ WORKDIR /app
|
|
28 |
COPY . /app
|
29 |
|
30 |
# Install system dependencies
|
31 |
-
RUN apt-get update && apt-get install -u 0 -y \
|
32 |
-
|
33 |
-
|
34 |
|
35 |
# Install Python dependencies
|
36 |
RUN pip install --no-cache-dir --upgrade pip
|
|
|
8 |
# Set the home directory for the user
|
9 |
ENV HOME=/home/user \
|
10 |
|
11 |
+
PATH=/home/user/.local/bin:$PATH
|
12 |
|
13 |
# Set the working directory for the new user
|
14 |
WORKDIR $HOME/app
|
|
|
28 |
COPY . /app
|
29 |
|
30 |
# Install system dependencies
|
31 |
+
# RUN apt-get update && apt-get install -u 0 -y \
|
32 |
+
# git \
|
33 |
+
# && rm -rf /var/lib/apt/lists/*
|
34 |
|
35 |
# Install Python dependencies
|
36 |
RUN pip install --no-cache-dir --upgrade pip
|