|
@@ -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"]
|