This commit is contained in:
JonatanRek
2024-10-05 21:19:41 +02:00
parent 38d4617b28
commit fc60126730
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,4 +8,4 @@ COPY . /app
RUN pip install --no-cache-dir -r /app/requirements.txt RUN pip install --no-cache-dir -r /app/requirements.txt
# Start Anonimization # Start Anonimization
CMD ["python", "app.py"] CMD ["python", "/app/app.py"]
+1 -1
View File
@@ -2,7 +2,7 @@
#### Docker Build - Powershell (One Line) #### Docker Build - Powershell (One Line)
```powershell ```powershell
$tag = ("0.0.1").Trim(); git reset --hard; git pull origin master; git tag $tag; git push --tags; docker build -t git.steelants.cz/steelants/py_ck:$tag .; docker push git.steelants.cz/steelants/py_ck:$tag; docker build -t git.steelants.cz/steelants/py_ck:latest .; docker push git.steelants.cz/steelants/py_ck:latest $tag = ("0.0.2").Trim(); git reset --hard; git pull origin master; git tag $tag; git push --tags; docker build -t git.steelants.cz/steelants/py_ck:$tag .; docker push git.steelants.cz/steelants/py_ck:$tag; docker build -t git.steelants.cz/steelants/py_ck:latest .; docker push git.steelants.cz/steelants/py_ck:latest
``` ```
#### Docker Build - Bash (One Line) #### Docker Build - Bash (One Line)