diff --git a/Dockerfile b/Dockerfile index 541cc93..54847cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y \ libjpeg-dev \ zlib1g-dev -VOLUME [ "/data", "/source", "/destination", "/app" ] +VOLUME [ "/source", "/destination" ] WORKDIR /app @@ -25,9 +25,6 @@ COPY . . RUN pip install --no-cache-dir -r requirements.txt && \ ln -s /destination /app/engine/static - # ln -s /destination /app/engine/static && \ - # mv /app/data /data && \ - # ln -s /data /app EXPOSE 23276 diff --git a/docker/Dockerfile b/docker/Dockerfile index e43fd89..d4352ba 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -21,13 +21,12 @@ RUN apt-get update && apt-get install -y \ RUN git clone https://github.com/pnatel/PhotoFolder.git --branch master --single-branch && \ mv /PhotoFolder /app -VOLUME [ "/data", "/source", "/destination" ] +VOLUME [ "/source", "/destination" ] WORKDIR /app RUN pip install --no-cache-dir -r requirements.txt && \ - ln -s /destination /app/engine/static && \ - ln -s /data /app + ln -s /destination /app/engine/static EXPOSE 23276