Skip to content

Commit

Permalink
Run unit tests in base image
Browse files Browse the repository at this point in the history
  • Loading branch information
oskirby committed Jul 12, 2024
1 parent 554baca commit 2fef976
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ services:
image: autograph-app
build:
context: .
target: base
environment:
- AUTOGRAPH_DB_DSN=host=db user=myautographdbuser dbname=autograph password=myautographdbpassword sslmode=verify-full sslrootcert=/app/src/autograph/tools/softhsm/db-root.crt
- AUTOGRAPH_DB_HOST=db
Expand All @@ -134,6 +135,9 @@ services:
links:
- db
user: "0"
volumes:
# TODO: This should probably be read-only, but that breaks coverage reporting.
- .:/app/src/autograph:rw
working_dir: "/app/src/autograph/"
command:
[
Expand Down

0 comments on commit 2fef976

Please sign in to comment.