Browse Source

[ADD] add settings app volume

Gogs 7 years ago
parent
commit
0487ca570f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      eiru-automation/Dockerfile

+ 2 - 2
eiru-automation/Dockerfile

@@ -14,8 +14,6 @@ RUN set -x; \
 COPY entrypoint.sh /
 RUN chmod +x entrypoint.sh
 
-VOLUME ["/opt/odoo"]
-
 COPY ./app ./app
 
 WORKDIR ./app
@@ -24,6 +22,8 @@ RUN set -x; \
         pip install -r requirements.txt && \
         python manage.py migrate
 
+VOLUME ["/opt/odoo", "/app/odoo_control"]
+
 EXPOSE 8000
 
 CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]