Skip to content

Commit 8676c18

Browse files
committed
Fix docker exiting when no migrations
1 parent 4811eed commit 8676c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indexers-v2/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ COPY . .
1313
RUN pip install --upgrade pip
1414
RUN pip install --no-cache-dir -r requirements.txt
1515

16-
ENTRYPOINT ["sh", "-c", "python3 main.py --network_name \"$NETWORK_NAME\" --rpc_endpoint \"$RPC_ENDPOINT\" && npm run generate:processor && npm run build && npm run generate:migration && npm run start"]
16+
ENTRYPOINT ["sh", "-c", "python3 main.py --network_name \"$NETWORK_NAME\" --rpc_endpoint \"$RPC_ENDPOINT\" && npm run generate:processor && npm run build && (npm run generate:migration || true) && npm run start"]

0 commit comments

Comments
 (0)