edits
This commit is contained in:
parent
a63066f686
commit
cd30469d87
@ -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:
|
||||||
|
@ -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"]
|
Loading…
Reference in New Issue
Block a user