Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <zegerjan@gitlab.com>2017-04-26 18:57:44 +0300
committerDouwe Maan <douwe@gitlab.com>2017-04-26 18:57:44 +0300
commitdf85a7c00439f7a9636b6f46448336d76df7f7da (patch)
treed59481d95e0f8dfcc48a382ae3dd707b18e32e6a /vendor/Dockerfile/Python2.Dockerfile
parent61afa9b5c45deccda81bddf33bb1cd6bc69280fd (diff)
Submodule Dockerfile templates
Diffstat (limited to 'vendor/Dockerfile/Python2.Dockerfile')
-rw-r--r--vendor/Dockerfile/Python2.Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/Dockerfile/Python2.Dockerfile b/vendor/Dockerfile/Python2.Dockerfile
new file mode 100644
index 00000000000..c9a03584d40
--- /dev/null
+++ b/vendor/Dockerfile/Python2.Dockerfile
@@ -0,0 +1,11 @@
+FROM python:2.7
+
+RUN mkdir -p /usr/src/app
+WORKDIR /usr/src/app
+
+COPY requirements.txt /usr/src/app/
+RUN pip install --no-cache-dir -r requirements.txt
+
+COPY . /usr/src/app
+
+CMD ["python", "app.py"]