Explorar o código

use bind mount

Tejas Badadare hai 9 meses
pai
achega
639d2952c7
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      apps/contract-deployer/docker-compose.yaml

+ 4 - 2
apps/contract-deployer/docker-compose.yaml

@@ -5,8 +5,10 @@ services:
       dockerfile: ./Dockerfile
     ports:
       - "8501:8501"
-    # volumes:
-    #   - ./:/app # Mount the entire monorepo. TODO: pull from GH
+    volumes:
+      - type: bind
+        source: ./
+        target: /app
     environment:
       - STREAMLIT_SERVER_PORT=8501
       - STREAMLIT_SERVER_ADDRESS=0.0.0.0