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
volumes:
# - ./credentials.json:/app/credentials.json:ro
- ./tokens:/app/tokens
# - ./tokens:/app/tokens
- ./data/czsk:/data
mail_rcw:
@ -24,7 +24,7 @@ services:
- OUTPUT_DIR=/data
volumes:
# - ./credentials.json:/app/credentials.json:ro
- ./tokens:/app/tokens
# - ./tokens:/app/tokens
- ./data/rcw:/data
mail_rcw_offers:
@ -38,7 +38,7 @@ services:
- OUTPUT_DIR=/data
volumes:
# - ./credentials.json:/app/credentials.json:ro
- ./tokens:/app/tokens
# - ./tokens:/app/tokens
- ./data/rcw_offers:/data
networks:

View File

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