Skip to content

Commit

Permalink
Reapply "fix(docker): temporarily start by resetting DB"
Browse files Browse the repository at this point in the history
This reverts commit 6786e61.
  • Loading branch information
thekaveman committed Jan 28, 2025
1 parent 1443c0f commit 9e955fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion appcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ RUN pip install $(find /build/dist -name ca_disaster_recovery*.whl)

# configure container executable
ENTRYPOINT ["/bin/bash"]
CMD ["bin/start.sh"]
CMD ["bin/reset_db.sh"]
2 changes: 2 additions & 0 deletions bin/reset_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ if [[ -n "$valid_fixtures" ]]; then
else
echo "No JSON fixtures to load"
fi

bin/start.sh

0 comments on commit 9e955fa

Please sign in to comment.