EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESA
PRISM
VS
Commits
30a8dc1e
Commit
30a8dc1e
authored
5 years ago
by
Fabian Schindler
Browse files
Options
Downloads
Patches
Plain Diff
Improving docker and installation script.
parent
fe5fb561
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ingestor/Dockerfile
+6
-3
6 additions, 3 deletions
ingestor/Dockerfile
ingestor/install.sh
+4
-1
4 additions, 1 deletion
ingestor/install.sh
ingestor/requirements.txt
+2
-0
2 additions, 0 deletions
ingestor/requirements.txt
with
12 additions
and
4 deletions
ingestor/Dockerfile
+
6
−
3
View file @
30a8dc1e
...
...
@@ -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
"]
This diff is collapsed.
Click to expand it.
ingestor/install.sh
100644 → 100755
+
4
−
1
View file @
30a8dc1e
...
...
@@ -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/
*
This diff is collapsed.
Click to expand it.
ingestor/requirements.txt
+
2
−
0
View file @
30a8dc1e
flask
lxml
python-dateutil
gunicorn
redis
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment