Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nms-viewcount-tool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Hartig
nms-viewcount-tool
Commits
f5ad7e53
Commit
f5ad7e53
authored
1 year ago
by
Jan Hartig
Browse files
Options
Downloads
Patches
Plain Diff
Fix
parent
df1f0563
No related branches found
No related tags found
No related merge requests found
Pipeline
#29720
passed
1 year ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.dockerignore
+3
-0
3 additions, 0 deletions
.dockerignore
Dockerfile
+2
-5
2 additions, 5 deletions
Dockerfile
uwsgi.ini
+3
-2
3 additions, 2 deletions
uwsgi.ini
with
8 additions
and
7 deletions
.dockerignore
0 → 100644
+
3
−
0
View file @
f5ad7e53
.git
.gitignore
.gitlab.ci.yml
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Dockerfile
+
2
−
5
View file @
f5ad7e53
FROM
harbor.ptb.de/dockerhub/python:3.1
1
-bookworm
as
builder
FROM
harbor.ptb.de/dockerhub/python:3.1
2
-bookworm
as
builder
ENV
DEBIAN_FRONTEND=noninteractive
# get curl for healthchecks and dependencies for pyAV
...
...
@@ -15,7 +15,7 @@ RUN pip install --upgrade pip && \
pip wheel
--wheel-dir
/wheels uwsgi
-r
/tmp/requirements.txt
FROM
harbor.ptb.de/dockerhub/python:3.1
1
-slim-bookworm
FROM
harbor.ptb.de/dockerhub/python:3.1
2
-slim-bookworm
ENV
DEBIAN_FRONTEND=noninteractive
ENV
PYTHONUNBUFFERED=1
...
...
@@ -54,7 +54,4 @@ EXPOSE 8080
HEALTHCHECK
--interval=10s --timeout=3s \
CMD curl -s -o /dev/null -f http://localhost:8080/health || exit 1
# upload folder
VOLUME
/opt/app/uploads
CMD
["uwsgi", "uwsgi.ini"]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
uwsgi.ini
+
3
−
2
View file @
f5ad7e53
...
...
@@ -3,6 +3,7 @@ strict
master
die-on-term
http-socket
=
:8080
processes
=
1
processes
=
2
auto-procname
chdir
=
/opt/app
\ No newline at end of file
chdir
=
/opt/app
module
=
server
\ No newline at end of file
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