Skip to content
Snippets Groups Projects
Commit b94a7369 authored by WITTMANN Gregory's avatar WITTMANN Gregory
Browse files

Changement

parent 9e81729e
No related branches found
No related tags found
No related merge requests found
Pipeline #16627 failed
...@@ -10,7 +10,7 @@ lint: ...@@ -10,7 +10,7 @@ lint:
stage: lint stage: lint
script: script:
- pip install flake8 - pip install flake8
- flake8 sphère.py - flake8 calculVolumeSphere.py
test: test:
stage: test stage: test
......
# 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
Flask==2.0.1
pytest==6.2.5
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment