pengdaqian commited on
Commit
c6b8d2e
·
1 Parent(s): 920b2d3
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -14,5 +14,7 @@ COPY . .
14
 
15
  RUN mkdir -p /var/run/clamav
16
  RUN chown -R clamav /var/run/clamav
 
 
17
 
18
- CMD ["sh", "-c", "clamd restart && && chown -R clamav /tmp/clamd.pid && python3 scan_main.py"]
 
14
 
15
  RUN mkdir -p /var/run/clamav
16
  RUN chown -R clamav /var/run/clamav
17
+ RUN touch /tmp/clamd.pid
18
+ RUN chown -R clamav /tmp/clamd.pid
19
 
20
+ CMD ["sh", "-c", "clamd restart && python3 scan_main.py"]