mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-08 08:08:46 +00:00
18 lines
429 B
Docker
18 lines
429 B
Docker
ARG IMAGE_TAG=v10
|
|
ARG DOCKER_REGISTRY_PREFIX=frappe
|
|
FROM ${DOCKER_REGISTRY_PREFIX}/erpnext-worker:${IMAGE_TAG}
|
|
|
|
COPY build/erpnext-nginx/install_app.sh /install_app
|
|
|
|
RUN /install_app
|
|
|
|
FROM ${DOCKER_REGISTRY_PREFIX}/frappe-nginx:${IMAGE_TAG}
|
|
|
|
COPY --from=0 /home/frappe/sites /var/www/html
|
|
RUN echo "erpnext" >> /var/www/html/apps.txt
|
|
|
|
VOLUME [ "/assets" ]
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
|
CMD ["nginx", "-g", "daemon off;"]
|