Spaces:
Runtime error
Runtime error
pengdaqian
commited on
Commit
·
c6b8d2e
1
Parent(s):
920b2d3
init scan
Browse files- 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 &&
|
|
|
|
| 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"]
|