Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FACT Elevation Computer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FACT
FACT Data Services
FACT Elevation Computer
Commits
5bdff427
Commit
5bdff427
authored
11 months ago
by
Riccardo Boero
Browse files
Options
Downloads
Patches
Plain Diff
Clean up of mess due to faulty docker container execution
parent
6cfcd747
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+2
-3
2 additions, 3 deletions
Dockerfile
other/load_server_package.sh
+1
-10
1 addition, 10 deletions
other/load_server_package.sh
with
3 additions
and
13 deletions
Dockerfile
+
2
−
3
View file @
5bdff427
FROM
python:3.9.16-slim-bullseye
# update system and install required software
RUN
apt update
&&
/usr/local/bin/python
-m
pip
install
--upgrade
pip
&&
pip
install
poetry
RUN
apt update
&&
/usr/local/bin/python
-m
pip
install
--upgrade
pip
&&
apt
install
git
-y
#&& pip install poetry
# copy data
COPY
data/aster30m/*.tif /app/data/aster30m/
RUN
chmod
a+rx /app/data/aster30m/
*
.tif
# copy required software & data
WORKDIR
/app
COPY
other /app/other
RUN
chmod
a+rx /app/other/
*
.
*
# setup the python environment
RUN
/app/other/load_server_package.sh
...
...
This diff is collapsed.
Click to expand it.
other/load_server_package.sh
+
1
−
10
View file @
5bdff427
#!/usr/bin/env bash
# initialize project
poetry init
-n
poetry config keyring.enabled
false
# confif repo
poetry config repositories.gitlab https://git.nilu.no/api/v4/projects/1217/packages/pypi
poetry config http-basic.gitlab FACT_token glpat-1zG-TQx___xLsPjj2vsG
# add package
poetry add polygonqueryonraster
--source
gitlab
pip
install
git+https://FACT_token:glpat-1zG-TQx___xLsPjj2vsG@git.nilu.no/fact/utils/polygonqueryonraster.git
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