From 27f9c7c19c321952a2faad0c2f6caa0087661829 Mon Sep 17 00:00:00 2001 From: Paulo Silva Date: Fri, 19 Apr 2024 06:07:44 +1000 Subject: [PATCH] removing data volume docker settings --- Dockerfile | 5 +---- docker/Dockerfile | 5 ++--- 2 files changed, 3 insertions(+), 7 deletions(-) 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