Skip to content

Commit

Permalink
Fix tests in Docker dev environment
Browse files Browse the repository at this point in the history
For some reason, temporary files weren’t created correctly when running tests inside our Docker development environment. This seems to be a Docker issue that can be worked around by mounting the `/tmp` directory.

References:
alphagov/govuk-docker#539
docker/for-linux#1015
  • Loading branch information
tillprochaska authored and mattwr18 committed Jul 27, 2022
1 parent c859484 commit 8613658
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ services:
ports:
- 3000:3000
- 3035:3035
tmpfs:
- /tmp

assets:
command: npm run dev
Expand Down

0 comments on commit 8613658

Please sign in to comment.