Add back in the fixtures

This commit is contained in:
Jack Zampolin
2018-01-19 15:24:25 -08:00
parent ea18c5d7e6
commit a1dec33552
2 changed files with 6 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ services:
- mongodb
- blockstack-api
volumes:
- "./data/search-api/:/var/blockstack-search"
- "./data/search-api:/var/blockstack-search"
search-api:
build:
@@ -58,7 +58,7 @@ services:
- mongodb
- blockstack-api
volumes:
- "./data/search-api/:/var/blockstack-search"
- "./data/search-api:/var/blockstack-search"
networks:
api: null

View File

@@ -28,6 +28,10 @@ WORKDIR /src/blockstack/api
COPY api/deployment/crontab /etc/cron.d/search-index-cron
COPY api/deployment/client.ini /root/.blockstack/client.ini
# Add bootstrapping files...
RUN cp search/fixtures/blockchain_data.json /var/blockstack-search/blockchain_data.json
RUN cp search/fixtures/profile_data.slice.json /var/blockstack-search/profile_data.json
# Give execution rights on the cron job
RUN chmod 0644 /etc/cron.d/search-index-cron