Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VLKB SEDModS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ViaLactea
VLKB SEDModS
Commits
485b43a7
Commit
485b43a7
authored
1 month ago
by
Robert Butora
Browse files
Options
Downloads
Patches
Plain Diff
docker: adds missing libs and adjust entrypoint
parent
8cb2c193
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+49
-0
49 additions, 0 deletions
Makefile
with
49 additions
and
0 deletions
Makefile
0 → 100644
+
49
−
0
View file @
485b43a7
.PHONY
:
build
build
:
docker build
-t
sedmods
-f
Dockerfile .
# --name container's name (aso edded to /etc/hosts)
# -d --detach run in background
# -t --tty allocate pseudo-tty terminal
# --rm automatically remove resources at exit
.PHONY
:
run
run
:
docker run
--detach
--tty
\
--name
sedmod-test
\
--rm
\
-v
/srv/sed-data:/srv/sed-data:ro
\
-p
9090:80 sedmods
@
echo
${
PWD
}
# -v ${PWD}/new_dataset:/sed-data:ro \
# -v ${PWD}/wsgi-scripts:/var/www/wsgi-scripts:rw \
.PHONY
:
exec-bash
exec-bash
:
docker
exec
-it
sedmod-test bash
.PHONY
:
publish-localy
publish-localy
:
docker tag sedmods git.ia2.inaf.it:5050/vialactea/vlkb-sedmods/sedmods:0.1
docker push git.ia2.inaf.it:5050/vialactea/vlkb-sedmods/sedmods:0.1
docker image remove git.ia2.inaf.it:5050/vialactea/vlkb-sedmods/sedmods:0.1
# with podman
build-podman
:
podman build
--tag
vlkb-sedmods
-f
./Dockerfile
run-podman
:
podman run
-dt
\
--name
sedmod-test
\
--rm
\
-v
${
PWD
}
/sed-data:/sed-data:z
\
-v
${
PWD
}
/wsgi-scripts:/var/www/wsgi-scripts:z
\
-p
8080:80 vlkb-sedmods
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