]> git.parisson.com Git - teleforma.git/commitdiff
init Dockerfile and requirements
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 28 May 2015 15:13:24 +0000 (17:13 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 28 May 2015 15:13:24 +0000 (17:13 +0200)
Dockerfile [new file with mode: 0644]
requirements.txt [new file with mode: 0644]

diff --git a/Dockerfile b/Dockerfile
new file mode 100644 (file)
index 0000000..0114806
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 2014-2015 Guillaume Pellerin
+# Copyright 2014-2015 Thomas Fillon
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# FROM parisson/timeside:latest-dev
+FROM parisson/telemeta:latest-dev
+
+MAINTAINER Guillaume Pellerin <yomguy@parisson.com>, Thomas fillon <thomas@parisson.com>
+
+# Clone app
+RUN mkdir /opt/TeleForma
+ADD . /opt/TeleForma
+WORKDIR /opt/TeleForma
+
+# Install deps
+RUN mkdir /opt/src
+RUN pip install -r requirements.txt --src /opt/src
+
+EXPOSE 8000
diff --git a/requirements.txt b/requirements.txt
new file mode 100644 (file)
index 0000000..d66c1a1
--- /dev/null
@@ -0,0 +1,4 @@
+--index-url https://pypi.python.org/simple/
+
+setuptools
+-e .