mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-18 10:47:08 +00:00
Add the docker files and the pip requiremnets.txt to allow install usign pip
This commit is contained in:
14
docker/Dockerfile
Normal file
14
docker/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
FROM python:2.7-jessie
|
||||||
|
|
||||||
|
RUN apt-get -y update && apt-get install -y mercurial fonts-freefont-ttf survex locales
|
||||||
|
|
||||||
|
# Set the locale
|
||||||
|
RUN locale-gen en_GB.UTF-8
|
||||||
|
ENV LANG en_GB.UTF-8
|
||||||
|
ENV LANGUAGE en_GB:en
|
||||||
|
ENV LC_ALL en_GB.UTF-8
|
||||||
|
|
||||||
|
WORKDIR /opt/expo/troggle
|
||||||
|
COPY requirements.txt .
|
||||||
|
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
14
docker/Dockerfile-django-1.4.22-wheezy
Normal file
14
docker/Dockerfile-django-1.4.22-wheezy
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
FROM python:2.7-wheezy
|
||||||
|
|
||||||
|
RUN apt-get -y update && apt-get install -y mercurial fonts-freefont-ttf survex locales
|
||||||
|
|
||||||
|
# Set the locale
|
||||||
|
RUN locale-gen en_GB.UTF-8
|
||||||
|
ENV LANG en_GB.UTF-8
|
||||||
|
ENV LANGUAGE en_GB:en
|
||||||
|
ENV LC_ALL en_GB.UTF-8
|
||||||
|
|
||||||
|
WORKDIR /opt/expo/troggle
|
||||||
|
COPY requirements.txt .
|
||||||
|
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
2
docker/docker-cmd
Normal file
2
docker/docker-cmd
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
docker run -it --rm --link expo-mysql:mysql -v /home/sam/expo/troggle:/expo python:2.7-wheezy /bin/bash
|
||||||
7
docker/requirements.txt
Normal file
7
docker/requirements.txt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
Django==1.4.22
|
||||||
|
django-registration==0.8
|
||||||
|
mysql
|
||||||
|
imagekit
|
||||||
|
Image
|
||||||
|
django-tinymce==1.5.3
|
||||||
|
smartencoding
|
||||||
Reference in New Issue
Block a user