Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wittmann_R507_Evaluation
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
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
WITTMANN Gregory
Wittmann_R507_Evaluation
Commits
b94a7369
Commit
b94a7369
authored
1 year ago
by
WITTMANN Gregory
Browse files
Options
Downloads
Patches
Plain Diff
Changement
parent
9e81729e
No related branches found
No related tags found
No related merge requests found
Pipeline
#16627
failed
1 year ago
Stage: lint
Stage: test
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
dockerfile
+17
-0
17 additions, 0 deletions
dockerfile
requirement.txt
+2
-0
2 additions, 0 deletions
requirement.txt
with
20 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
1
View file @
b94a7369
...
@@ -10,7 +10,7 @@ lint:
...
@@ -10,7 +10,7 @@ lint:
stage
:
lint
stage
:
lint
script
:
script
:
-
pip install flake8
-
pip install flake8
-
flake8
s
ph
è
re.py
-
flake8
calculVolumeS
ph
e
re.py
test
:
test
:
stage
:
test
stage
:
test
...
...
This diff is collapsed.
Click to expand it.
dockerfile
0 → 100644
+
17
−
0
View file @
b94a7369
# Utilisez une image de base Python
FROM
python:3.8
# Mise à jour et installation de pip
RUN
apt-get update
-y
&&
apt-get
install
-y
python3-pip
# Copiez les fichiers nécessaires dans le conteneur
COPY
calculVolumeSphere.py requirements.txt ./
# Installez les dépendances
RUN
pip3
install
-r
requirements.txt
# Exposez le port 9090
EXPOSE
9090
# Commande par défaut à exécuter lorsque le conteneur est démarré
CMD
["python3", "calculVolumeSphere.py"]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
requirement.txt
0 → 100644
+
2
−
0
View file @
b94a7369
Flask==2.0.1
pytest==6.2.5
\ 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