EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 30a8dc1e authored by Fabian Schindler's avatar Fabian Schindler
Browse files

Improving docker and installation script.

parent fe5fb561
No related branches found
No related tags found
No related merge requests found
......@@ -35,9 +35,12 @@ LABEL name="prism view server cache" \
version="0.0.1-dev"
USER root
ADD install.sh ingestor.py \
ADD install.sh requirements.txt \
/
RUN ./install.sh
RUN /install.sh
RUN mkdir /ingestor
COPY app.py config.py /
COPY ingestor/ /ingestor
ENV COLLECTION_ID= \
INSTANCE_ID="prism-view-server_ingestor" \
......@@ -54,4 +57,4 @@ ENV COLLECTION_ID= \
OS_TENANT_ID= \
OS_REGION_NAME=
CMD ["python3", "/ingestor.py"]
CMD ["gunicorn3", "-c", "config.py", "app"]
......@@ -4,6 +4,9 @@ echo "Running install.sh"
apt update
echo "Installing packages"
DEBIAN_FRONTEND=noninteractive apt install -y python3-redis
DEBIAN_FRONTEND=noninteractive apt install -y python3-flask python3-lxml python3-dateutil gunicorn3 python3-redis
# pip3 install -r /requirements.txt
rm -rf /var/lib/apt/lists/*
flask
lxml
python-dateutil
gunicorn
redis
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment