Spaces:
Runtime error
Runtime error
pengdaqian
commited on
Commit
·
01fb141
1
Parent(s):
0d1630d
change
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -13,6 +13,11 @@ RUN chmod -R 777 /var/lib/clamav
|
|
| 13 |
RUN clamd restart
|
| 14 |
|
| 15 |
RUN adduser --disabled-password --uid 1000 user
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
USER user
|
| 17 |
|
| 18 |
ENV HOME=/home/user \
|
|
|
|
| 13 |
RUN clamd restart
|
| 14 |
|
| 15 |
RUN adduser --disabled-password --uid 1000 user
|
| 16 |
+
RUN chown user:user /var/lib/clamav/bytecode.cvd
|
| 17 |
+
RUN chown user:user /var/lib/clamav/daily.cvd
|
| 18 |
+
RUN chown user:user /var/lib/clamav/daily.cvd
|
| 19 |
+
RUN chown user:user /var/lib/clamav/main.cvd
|
| 20 |
+
|
| 21 |
USER user
|
| 22 |
|
| 23 |
ENV HOME=/home/user \
|