Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider 5450d422 rédigé par Erwan BOUSSE's avatar Erwan BOUSSE
Parcourir les fichiers

Rename dockerfile as containerfile

parent 1447e9dc
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #75454 réussi
......@@ -52,7 +52,7 @@ publish_docker:
--build-arg http_proxy=$http_proxy
--build-arg https_proxy=$https_proxy
--build-arg no_proxy=$no_proxy
--dockerfile "${CI_PROJECT_DIR}/application/Dockerfile"
--dockerfile "${CI_PROJECT_DIR}/application/Containerfile"
--destination "${CI_REGISTRY_IMAGE}:${CI_PIPELINE_IID}"
--destination "${CI_REGISTRY_IMAGE}:latest"
rules:
......
......@@ -36,7 +36,7 @@ _Web Calculator_ is a tiny stateless web application written in Python using htt
- Docker/Podman (if running as a container)
- Ansible, for deployment
== Install, configure and run
== Install and run
You can install and run the service without or with Docker/Podman.
......@@ -142,7 +142,7 @@ If it is empty, no problem has been detected.
==== Build the Docker/Podman image
A `Dockerfile` can be used to build and package the application as a Docker/Podman image.
A `Containerfile` script can be used to package the application as a container image.
Example of building the image with https://podman.io/[Podman]:
......@@ -169,8 +169,6 @@ See the `.gitlab-ci.yml` file for more information.
The `deployment` folder contains an Ansible project to deploy the application on existing infrastructure.
These Ansible templates require a few variables to be set up in the Ansible inventory.
Two Ansible playbooks are provided:
- `service-up.playbook.yml`: stop then start the application in a container on the target host.
......
__pycache__
.pytest_cache
Dockerfile
\ No newline at end of file
Containerfile
\ No newline at end of file
Fichier déplacé
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter