Skip to content
Snippets Groups Projects
Commit 08b219ae authored by LAMRINI Houda's avatar LAMRINI Houda
Browse files

Update .gitlab-ci.yml file

parent dfa7b6b3
No related branches found
No related tags found
No related merge requests found
Pipeline #47307 passed
......@@ -6,6 +6,8 @@ stages:
build:
stage: build_stage
script:
- apt-get update
- apt-get install -y docker.io
- docker --version
- docker build -t pyapp .
......@@ -13,5 +15,7 @@ build:
deploy:
stage: deploy_stage
script:
- apt-get update
- apt-get install -y docker.io
- docker run -d --name pythoncontainer -p 80:5000 pyapp
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment