Skip to content

Commit

Permalink
Using docker image from AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed May 15, 2024
1 parent f9cd93a commit 4a5bfdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-pdk-serve.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@echo off
aws ecr get-login-password --region eu-west-1 --profile peppol-dev | docker login --username AWS --password-stdin 070318080841.dkr.ecr.eu-west-1.amazonaws.com
docker stop pdk-serve
docker run --rm --pull=always -i -d --name pdk-serve -v %CD%:/src -p8000:8000 public.ecr.aws/openpeppol/pdk:latest pdk serve
3 changes: 2 additions & 1 deletion docker-pdk.cmd
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@echo off
docker run --rm --pull=always -i -v %CD%:/src public.ecr.aws/openpeppol/pdk:latest pdk %*
aws ecr get-login-password --region eu-west-1 --profile peppol-dev | docker login --username AWS --password-stdin 070318080841.dkr.ecr.eu-west-1.amazonaws.com
docker run --rm --pull=always -i -v %CD%:/src 070318080841.dkr.ecr.eu-west-1.amazonaws.com/pdk:latest pdk %*

0 comments on commit 4a5bfdc

Please sign in to comment.