first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
14
base/scrapyd/1.2.1/Dockerfile
Normal file
14
base/scrapyd/1.2.1/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM python:3.7
|
||||
|
||||
LABEL maintainer="python <root@leavesongs.com>"
|
||||
|
||||
RUN set -ex \
|
||||
&& pip install scrapyd \
|
||||
&& mkdir -p /opt/scrapyd/eggs /opt/scrapyd/dbs \
|
||||
&& chown -R nobody:nogroup /opt/scrapyd
|
||||
|
||||
COPY scrapyd.conf /opt/scrapyd/scrapyd.conf
|
||||
WORKDIR /opt/scrapyd
|
||||
EXPOSE 6800
|
||||
|
||||
CMD ["scrapyd", "-u", "nobody", "-g", "nogroup"]
|
Reference in New Issue
Block a user