Reorder Dockerfile

This commit is contained in:
2025-11-23 11:36:12 -07:00
parent 7e11b2d531
commit c5b161487b

View File

@@ -6,13 +6,14 @@ WORKDIR /image_drop
ENV PYTHONDONTWRITEBYTECODE=1 \ ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 PYTHONUNBUFFERED=1
# Copy app code
COPY . /image_drop
# Install Python deps # Install Python deps
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt \ RUN pip install --no-cache-dir -r requirements.txt \
&& pip install --no-cache-dir python-multipart && pip install --no-cache-dir python-multipart
# Copy app code
COPY . /image_drop
# Data dir for SQLite (state.db) # Data dir for SQLite (state.db)
#RUN mkdir -p /data #RUN mkdir -p /data