python v1 - working list, download issue

This commit is contained in:
2025-08-08 12:48:15 -07:00
parent 760868c98c
commit 1dbd1321ff
3 changed files with 116 additions and 93 deletions

View File

@@ -15,13 +15,18 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Copy and install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY . .
COPY garminsync/ ./garminsync/
# Create data directory
RUN mkdir -p /app/data
# Set environment variables from .env file
ENV ENV_FILE=/app/.env
ENV DATA_DIR=/app/data
# Set the entrypoint to run the CLI
ENTRYPOINT ["python", "-m", "garminsync.cli"]
ENTRYPOINT ["python", "-m", "garminsync.cli"]