Spaces:
Sleeping
Sleeping
pengdaqian
commited on
Commit
•
cba4ee0
1
Parent(s):
84e83e6
change
Browse files- Dockerfile +5 -4
Dockerfile
CHANGED
@@ -1,5 +1,10 @@
|
|
1 |
FROM clamav/clamav:stable
|
2 |
|
|
|
|
|
|
|
|
|
|
|
3 |
RUN adduser --disabled-password --uid 1000 user
|
4 |
|
5 |
USER user
|
@@ -7,10 +12,6 @@ USER user
|
|
7 |
ENV HOME=/home/user \
|
8 |
PATH=/home/user/.local/bin:$PATH
|
9 |
|
10 |
-
RUN apk update && apk add --no-cache \
|
11 |
-
python3 \
|
12 |
-
py3-pip \
|
13 |
-
&& rm -rf /var/cache/apk/*
|
14 |
|
15 |
WORKDIR $HOME/app
|
16 |
|
|
|
1 |
FROM clamav/clamav:stable
|
2 |
|
3 |
+
RUN apk update && apk add --no-cache \
|
4 |
+
python3 \
|
5 |
+
py3-pip \
|
6 |
+
&& rm -rf /var/cache/apk/*
|
7 |
+
|
8 |
RUN adduser --disabled-password --uid 1000 user
|
9 |
|
10 |
USER user
|
|
|
12 |
ENV HOME=/home/user \
|
13 |
PATH=/home/user/.local/bin:$PATH
|
14 |
|
|
|
|
|
|
|
|
|
15 |
|
16 |
WORKDIR $HOME/app
|
17 |
|