Skip to content

Commit

Permalink
Infrastructure: Fix ctfd command
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Jan 23, 2024
1 parent bd4086b commit 0a67619
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,15 @@ services:
restart: always
privileged: true
entrypoint: ""
command: >
/bin/sh -c '[ "$DOJO_ENV" != "development" ] &&
./docker-entrypoint.sh ||
FLASK_ENV=development WERKZEUG_DEBUG_PIN=off flask run --host 0.0.0.0 --port 8000'
command:
- /bin/sh
- -c
- |
if [ "$DOJO_ENV" != "development" ]; then
./docker-entrypoint.sh;
else
FLASK_ENV=development WERKZEUG_DEBUG_PIN=off flask run --host 0.0.0.0 --port 8000;
fi
ulimits:
nofile:
soft: 32768
Expand Down

0 comments on commit 0a67619

Please sign in to comment.