Skip to content

Commit

Permalink
Move Cove ETL Dashboard Dockerfile into main directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Sep 29, 2015
1 parent aa8f5e6 commit bf4978e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 38 deletions.
38 changes: 36 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,36 @@
FROM python:3.4-onbuild
CMD "./transform_all.sh"
# Build based on virtuoso container in order to have access to virtuoso's
# isql command.
FROM caprenter/automated-build-virtuoso

RUN apt-get update

# install dependencies
RUN apt-get install -y \
git python3-pip \
# Python C library building dependencies
build-essential python3-dev


RUN git clone https://github.com/OpenDataServices/cove.git /usr/src/cove
WORKDIR /usr/src/cove
RUN git checkout resourceprojects-etl

# Set the locale
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

RUN pip3 install -r /usr/src/cove/requirements.txt
RUN python3 manage.py migrate --noinput
# TMP moveme
RUN apt-get install -y gettext
RUN python3 manage.py compilemessages
RUN python3 manage.py collectstatic --noinput
RUN pip3 install gunicorn
# Massive hack
RUN mkdir .ve && ln -s ../src .ve/src
# TMP moveme
RUN echo 1 && git pull
EXPOSE 80
CMD gunicorn cove.wsgi -b 0.0.0.0:80
36 changes: 0 additions & 36 deletions load/Dockerfile

This file was deleted.

0 comments on commit bf4978e

Please sign in to comment.