Spaces:
Sleeping
Sleeping
user
Browse files- Dockerfile +11 -2
Dockerfile
CHANGED
@@ -2,10 +2,19 @@ FROM bash:latest
|
|
2 |
|
3 |
RUN apk add --no-cache curl
|
4 |
|
5 |
-
|
6 |
|
7 |
-
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
RUN chmod +x ./pup && ./pup
|
10 |
RUN pup py3.11
|
11 |
RUN pwd && ls -la
|
|
|
2 |
|
3 |
RUN apk add --no-cache curl
|
4 |
|
5 |
+
RUN useradd -m -u 1000 user
|
6 |
|
7 |
+
USER user
|
8 |
|
9 |
+
ENV HOME=/home/user \
|
10 |
+
PATH=/home/user/.local/bin:$PATH \
|
11 |
+
PUP=/home/user/pup
|
12 |
+
|
13 |
+
WORKDIR $PUP
|
14 |
+
|
15 |
+
COPY --chown=user . .
|
16 |
+
|
17 |
+
RUN pwd && ls -la
|
18 |
RUN chmod +x ./pup && ./pup
|
19 |
RUN pup py3.11
|
20 |
RUN pwd && ls -la
|