From c5b161487bb166c1019954c453ec4f911849b5e3 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sun, 23 Nov 2025 11:36:12 -0700 Subject: [PATCH] Reorder Dockerfile --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0908459..95daac9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,13 +6,14 @@ WORKDIR /image_drop ENV PYTHONDONTWRITEBYTECODE=1 \ PYTHONUNBUFFERED=1 -# Copy app code -COPY . /image_drop - # Install Python deps +COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt \ && pip install --no-cache-dir python-multipart +# Copy app code +COPY . /image_drop + # Data dir for SQLite (state.db) #RUN mkdir -p /data