We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2c8b737 + bb3fcfe commit e792564Copy full SHA for e792564
3 files changed
.dockerignore
@@ -0,0 +1,8 @@
1
+that_is_me_on_github.md
2
+LICENSE
3
+Dockerfile
4
+tests/
5
+.circleci/
6
+.pytest_cache/
7
+Pipfile
8
+Pipfile.lock
Dockerfile
@@ -0,0 +1,16 @@
+FROM python:3.6.8-alpine
+
+LABEL maintainer="hustclf@gmail.com" author="hustclf"
+# set pip mirror to speed up installation, using aliyun as default.
+WORKDIR /root
+COPY pip.conf .pip/
9
+# copy source code
10
+WORKDIR /usr/src/that_is_me_on_github
11
+COPY . .
12
13
+# install requirements
14
+RUN pip install -r requirements.txt
15
16
+ENTRYPOINT ["python", "that_is_me_on_github.py"]
pip.conf
@@ -0,0 +1,3 @@
+[global]
+trusted-host = mirrors.aliyun.com
+index-url = http://mirrors.aliyun.com/pypi/simple
0 commit comments