We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0859c3a commit 375953bCopy full SHA for 375953b
Dockerfile
@@ -0,0 +1,18 @@
1
+FROM python:3.8-slim-buster
2
+
3
+WORKDIR /action/workspace
4
+COPY requirements.txt crawler.py /action/workspace/
5
6
+RUN python3 -m pip install --no-cache-dir -r requirements.txt \
7
+ && apt-get -y update \
8
+ && apt-get -y install --no-install-recommends git \
9
+ && rm -rf /var/lib/apt/lists/*
10
11
+CMD ["/action/workspace/crawler.py"]
12
+ENTRYPOINT ["python3", "-u"]
13
14
+# To run ineractive debug on the docker container
15
+# 1. Comment out the above CMD and ENTRYPOINT lines
16
+# 2. Uncomment the ENTRYPOINT line below
17
18
+#ENTRYPOINT ["bash"]
0 commit comments