Fixed an issue with files uploaded to dockerhub, causing it to include some csv and text files that don't need to be there

This commit is contained in:
mwisnowski 2025-08-21 11:50:27 -07:00
parent 712cc38ef6
commit 07605990a1
4 changed files with 220 additions and 1 deletions

View file

@ -21,7 +21,6 @@ RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY code/ ./code/
COPY csv_files/ ./csv_files/
COPY mypy.ini .
# Create necessary directories as mount points
@ -31,6 +30,7 @@ RUN mkdir -p deck_files logs csv_files
VOLUME ["/app/deck_files", "/app/logs", "/app/csv_files"]
# Create symbolic links BEFORE changing working directory
# These will point to the mounted volumes
RUN cd /app/code && \
ln -sf /app/deck_files ./deck_files && \
ln -sf /app/logs ./logs && \