mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-09 14:50:58 +00:00
Compat 2022 (#1174)
* Update nginx-template.conf Update to allow access of private files * updated node and python versions * Update frontend.Dockerfile updated bench build command to remove --production tag for version-13 frappe
This commit is contained in:
parent
3c77d58e59
commit
6bc8b4041b
@ -20,7 +20,10 @@ COPY --chown=frappe:frappe . apps/${APP_NAME}
|
|||||||
RUN bench setup requirements
|
RUN bench setup requirements
|
||||||
|
|
||||||
# Build static assets, copy files instead of symlink
|
# Build static assets, copy files instead of symlink
|
||||||
RUN bench build --production --verbose --hard-link
|
RUN if [ -z "${ERPNEXT_VERSION##*v14*}" ] || [ "$ERPNEXT_VERSION" = "develop" ]; then \
|
||||||
|
export BUILD_OPTS="--production"; \
|
||||||
|
fi \
|
||||||
|
&& FRAPPE_ENV=production bench build --verbose --hard-link ${BUILD_OPTS}
|
||||||
|
|
||||||
|
|
||||||
# Use frappe-nginx image with nginx template and env vars
|
# Use frappe-nginx image with nginx template and env vars
|
||||||
|
Loading…
Reference in New Issue
Block a user