Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -15
Dockerfile
CHANGED
@@ -8,22 +8,11 @@ RUN useradd -m -u 1000 user
|
|
8 |
# Switch to the "user" user
|
9 |
USER user
|
10 |
|
11 |
-
# Set
|
12 |
-
|
13 |
-
PATH=/home/user/.local/bin:$PATH
|
14 |
|
15 |
-
#
|
16 |
-
|
17 |
-
|
18 |
-
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
19 |
-
COPY --chown=user . $HOME/app
|
20 |
-
|
21 |
-
|
22 |
-
# # Set the working directory
|
23 |
-
# WORKDIR /app
|
24 |
-
|
25 |
-
# # Copy the current directory contents into the container at /app
|
26 |
-
# COPY . /app
|
27 |
|
28 |
# Install system dependencies
|
29 |
RUN apt-get update && apt-get install -y \
|
|
|
8 |
# Switch to the "user" user
|
9 |
USER user
|
10 |
|
11 |
+
# Set the working directory
|
12 |
+
WORKDIR /app
|
|
|
13 |
|
14 |
+
# Copy the current directory contents into the container at /app
|
15 |
+
COPY . /app
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
# Install system dependencies
|
18 |
RUN apt-get update && apt-get install -y \
|