Skip to content

Commit 0c665c6

Browse files
committed
fix(tests): add volumes to the tests docker compose container
1 parent 1e07154 commit 0c665c6

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

docker-compose.test.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ services:
77
build: ./nginx/tests
88
ports:
99
- 3000:80
10+
volumes:
11+
- /out:/www/data/out
1012
networks:
1113
- running-tests
1214

15+
volumes:
16+
builder_nginx_vol:
1317
networks:
1418
running-tests:

nginx/tests/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ RUN rm /etc/nginx/conf.d/default.conf
1010
COPY ./nginx.conf /etc/nginx/
1111
COPY ./mime.types /etc/nginx/conf/
1212
COPY ./default.conf /etc/nginx/conf.d/
13-
COPY ../../out /www/data/out
1413

1514
EXPOSE 80

0 commit comments

Comments
 (0)