Mount flask app into docker container to get 'live reloads'
This commit is contained in:
parent
b1d53b845d
commit
f1c5597025
@ -5,4 +5,4 @@ export DISPLAY=:1337
|
|||||||
cd /breach/Into*
|
cd /breach/Into*
|
||||||
xvfb-run -n 1337 -s "-screen 0 1280x720x24" ./Breach &
|
xvfb-run -n 1337 -s "-screen 0 1280x720x24" ./Breach &
|
||||||
|
|
||||||
/interface/main.py
|
while sleep 1; do /interface/main.py; done
|
||||||
|
2
go
2
go
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
⚡️run-service() {
|
⚡️run-service() {
|
||||||
_help-line "Start docker container with port 5000 exposed"
|
_help-line "Start docker container with port 5000 exposed"
|
||||||
docker run --rm -ti -p 5000:5000 --name breach -e OPENAI_KEY=$(pass openai/project-key) itbaas
|
docker run --rm -ti -p 5000:5000 -v $PWD/interface:/interface --name breach -e OPENAI_KEY=$(pass openai/project-key) itbaas
|
||||||
}
|
}
|
||||||
|
|
||||||
⚡️build-image() {
|
⚡️build-image() {
|
||||||
|
Loading…
Reference in New Issue
Block a user