Skip to content

Commit a63cee3

Browse files
committed
Mount repo read only
1 parent dbefb19 commit a63cee3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ services:
1212
volumes:
1313
- ./config:/app/config
1414
- ${SRC_VOLUME_PATH:-}:/metacpan-grep-front-end
15-
- ${CPAN_VOLUME_PATH}:/metacpan-cpan-extracted
15+
# mount the cpan repo as read-only to mimic production
16+
- ${CPAN_VOLUME_PATH}:/metacpan-cpan-extracted:ro
1617
ports:
1718
- "${HOST_PORT:-8088}:3000"
1819
container_name: grep-container

0 commit comments

Comments
 (0)