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