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