Spaces:
Sleeping
Sleeping
pengdaqian
commited on
Commit
•
78f8a0c
1
Parent(s):
23c4dab
change
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -5,6 +5,9 @@ RUN apk update && apk add --no-cache \
|
|
5 |
py3-pip \
|
6 |
&& rm -rf /var/cache/apk/*
|
7 |
|
|
|
|
|
|
|
8 |
RUN adduser --disabled-password --uid 1000 user
|
9 |
|
10 |
USER user
|
@@ -12,8 +15,6 @@ USER user
|
|
12 |
ENV HOME=/home/user \
|
13 |
PATH=/home/user/.local/bin:$PATH
|
14 |
|
15 |
-
RUN mkdir -p /run/clamav
|
16 |
-
RUN chmod -R 777 /run/clamav
|
17 |
|
18 |
WORKDIR $HOME/app
|
19 |
|
|
|
5 |
py3-pip \
|
6 |
&& rm -rf /var/cache/apk/*
|
7 |
|
8 |
+
RUN mkdir -p /run/clamav
|
9 |
+
RUN chmod -R 777 /run/clamav
|
10 |
+
|
11 |
RUN adduser --disabled-password --uid 1000 user
|
12 |
|
13 |
USER user
|
|
|
15 |
ENV HOME=/home/user \
|
16 |
PATH=/home/user/.local/bin:$PATH
|
17 |
|
|
|
|
|
18 |
|
19 |
WORKDIR $HOME/app
|
20 |
|