Skip to content

Commit

Permalink
Updated scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
lexara-prime-ai committed Jun 7, 2024
1 parent 919a35a commit 7abab3b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "wspr_cdk_development_container",
"dockerFile": "Dockerfile",
"forwardPorts": [8000],
"postCreateCommand": "bash ./scripts/bash/entrypoint.sh",
"customizations": {
"vscode": {
Expand All @@ -17,6 +18,9 @@
"features": {
"ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/terraform": {
"version": "latest"
}
}
}
6 changes: 2 additions & 4 deletions scripts/bash/inspect_build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

printf "\n[Inspecting] <test> container...\n"
sudo docker run -it test python ./hyper/hyper/server.py --interval 5

# To do -> Add commands for inspecting resulting image
# docker image inspect [OPTIONS] IMAGE [IMAGE...]
# docker image inspect [OPTIONS] IMAGE [IMAGE...]
sudo docker image inspect test
4 changes: 4 additions & 0 deletions scripts/bash/start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

printf "\n[Running] <test> container...\n"
sudo docker run -it test python ./hyper/hyper/server.py --interval 5

0 comments on commit 7abab3b

Please sign in to comment.