Skip to content
Snippets Groups Projects
Commit 881ff30d authored by Jonas Leder's avatar Jonas Leder
Browse files

always pull latest python container before build

parent 5a2ee8c3
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ echo off ...@@ -2,7 +2,7 @@ echo off
title Building and Pushing docker image title Building and Pushing docker image
cls cls
docker pull python:3
docker build --rm -f "Dockerfile" -t url_shorter:latest . docker build --rm -f "Dockerfile" -t url_shorter:latest .
docker tag url_shorter docker.jonasled.de/url_shorter/url_shorter docker tag url_shorter docker.jonasled.de/url_shorter/url_shorter
docker push docker.jonasled.de/url_shorter/url_shorter docker push docker.jonasled.de/url_shorter/url_shorter
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment