Reorder Dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user