rearranged config files

This commit is contained in:
Philip Sargent
2021-05-03 22:47:57 +01:00
parent e6adced39d
commit 8ad791c594
27 changed files with 7 additions and 92 deletions

28
_deploy/docker/Dockerfile Normal file
View File

@@ -0,0 +1,28 @@
FROM python:2.7-stretch
#COPY backports.list /etc/apt/sources.list.d/
RUN apt-get -y update && apt-get install -y mercurial fonts-freefont-ttf locales survex
#RUN apt-get -y -t -backports install survex
# 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 --upgrade pip
RUN pip install -r requirements.txt
EXPOSE 8000
WORKDIR /expo/troggle
#CMD ["python","manage.py","migrate"]
ENTRYPOINT ["python","manage.py","runserver","0.0.0.0:8000"]