From 9180ad78c4a475f50d8e90d2051545c6f5ff8942 Mon Sep 17 00:00:00 2001 From: Pit Kleyersburg Date: Sun, 6 Mar 2016 14:39:28 +0100 Subject: [PATCH] Update Dockerfile to match latest version --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fec76ee37..eb9fa90dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,11 @@ RUN pip install --no-cache-dir -r requirements.txt # Copy application RUN mkdir -p /usr/src/paperless/src +RUN mkdir -p /usr/src/paperless/data +RUN mkdir -p /usr/src/paperless/media COPY src/ /usr/src/paperless/src/ +COPY data/ /usr/src/paperless/data/ +COPY media/ /usr/src/paperless/media/ # Set consumption directory ENV PAPERLESS_CONSUMPTION_DIR /consume @@ -24,7 +28,6 @@ RUN mkdir -p $PAPERLESS_CONSUMPTION_DIR # Migrate database WORKDIR /usr/src/paperless/src -RUN mkdir /usr/src/paperless/data RUN ./manage.py migrate # Create user