This commit is contained in:
t0is 2025-07-21 08:51:56 +02:00
parent a63066f686
commit cd30469d87
2 changed files with 4 additions and 5 deletions

View File

@ -10,7 +10,7 @@ services:
- OUTPUT_DIR=/data - OUTPUT_DIR=/data
volumes: volumes:
# - ./credentials.json:/app/credentials.json:ro # - ./credentials.json:/app/credentials.json:ro
- ./tokens:/app/tokens # - ./tokens:/app/tokens
- ./data/czsk:/data - ./data/czsk:/data
mail_rcw: mail_rcw:
@ -24,7 +24,7 @@ services:
- OUTPUT_DIR=/data - OUTPUT_DIR=/data
volumes: volumes:
# - ./credentials.json:/app/credentials.json:ro # - ./credentials.json:/app/credentials.json:ro
- ./tokens:/app/tokens # - ./tokens:/app/tokens
- ./data/rcw:/data - ./data/rcw:/data
mail_rcw_offers: mail_rcw_offers:
@ -38,7 +38,7 @@ services:
- OUTPUT_DIR=/data - OUTPUT_DIR=/data
volumes: volumes:
# - ./credentials.json:/app/credentials.json:ro # - ./credentials.json:/app/credentials.json:ro
- ./tokens:/app/tokens # - ./tokens:/app/tokens
- ./data/rcw_offers:/data - ./data/rcw_offers:/data
networks: networks:

View File

@ -17,8 +17,7 @@ COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
# Copy code & credentials template # Copy code & credentials template
COPY main.py . COPY . .
COPY credentials.json .
# Entrypoint: reads SUPPORT_ADDRESS, TOKEN_PATH, OUTPUT_DIR env vars # Entrypoint: reads SUPPORT_ADDRESS, TOKEN_PATH, OUTPUT_DIR env vars
ENTRYPOINT ["bash", "-lc", "python main.py"] ENTRYPOINT ["bash", "-lc", "python main.py"]