Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SonarQube Scripts
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
Geant DevOps
SonarQube Scripts
Commits
04037f1e
Unverified
Commit
04037f1e
authored
2 years ago
by
Max Adamo
Browse files
Options
Downloads
Patches
Plain Diff
DEV-154 pre for CI
parent
12346e22
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
DOCKER/Dockerfile
+3
-3
3 additions, 3 deletions
DOCKER/Dockerfile
Dockerfile
+12
-0
12 additions, 0 deletions
Dockerfile
config.py
+1
-1
1 addition, 1 deletion
config.py
with
16 additions
and
4 deletions
DOCKER/Dockerfile
+
3
−
3
View file @
04037f1e
...
...
@@ -9,9 +9,9 @@ COPY requirements.txt /app/requirements.txt
RUN
pip3
install
-r
/app/requirements.txt
COPY
../webapp /app/.
COPY
../sq_project_list.py /app/
.
COPY
../sq_webapp.py /app/
.
COPY
../config.py /app/
.
COPY
../sq_project_list.py /app/
COPY
../sq_webapp.py /app/
COPY
../config.py /app/
CMD
["python3", "-m" , "flask", "run", "--host=0.0.0.0"]
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
12
−
0
View file @
04037f1e
# syntax=docker/dockerfile:1
FROM
python:3.8-slim-buster
WORKDIR
/app
COPY
. /app/
RUN
pip3
install
-r
/app/requirements.txt
CMD
["python3", "-m" , "flask", "run", "--host=0.0.0.0"]
This diff is collapsed.
Click to expand it.
config.py
+
1
−
1
View file @
04037f1e
...
...
@@ -4,7 +4,7 @@ print(f"DEBUG: config {basedir}")
class
Config
(
object
):
SQLALCHEMY_TRACK_MODIFICATIONS
=
False
INIT_LOCATION
=
'
/secret
e
/config.ini
'
INIT_LOCATION
=
'
/secret
s
/config.ini
'
# this is a test
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