mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-09 23:00:56 +00:00
fix: erpnext image build errors
This commit is contained in:
parent
7106124a07
commit
18e8f05c9f
@ -6,6 +6,7 @@ COPY build/erpnext-nginx/install_app.sh /install_app
|
||||
ARG GIT_BRANCH=develop
|
||||
RUN /install_app erpnext https://github.com/frappe/erpnext ${GIT_BRANCH}
|
||||
|
||||
ARG GIT_BRANCH=develop
|
||||
FROM frappe/frappe-nginx:${GIT_BRANCH}
|
||||
|
||||
COPY --from=0 /home/frappe/frappe-bench/sites/ /var/www/html/
|
||||
|
@ -1,5 +1,5 @@
|
||||
ARG GIT_BRANCH=develop
|
||||
FROM frappe/frappe-worker:${GIT_BRANCH}}
|
||||
FROM frappe/frappe-worker:${GIT_BRANCH}
|
||||
|
||||
ARG GIT_BRANCH=develop
|
||||
RUN install_app erpnext https://github.com/frappe/erpnext ${GIT_BRANCH}
|
||||
|
@ -35,8 +35,6 @@ def git_version(service, version, branch):
|
||||
return version_tag
|
||||
|
||||
def build(service, tag, image, branch):
|
||||
build_args = ''
|
||||
if branch != 'develop':
|
||||
build_args = f'--build-arg GIT_BRANCH={branch}'
|
||||
if service == 'nginx' and branch == 'version-11':
|
||||
build_args += f' --build-arg NODE_IMAGE_TAG=10-prod'
|
||||
|
Loading…
Reference in New Issue
Block a user