2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 06:15:26 +00:00

Fix: WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (#1426)

This commit is contained in:
gp 2024-07-03 17:19:10 -04:00 committed by GitHub
parent 83599aec23
commit 74b2bca9bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM debian:bookworm-slim as bench FROM debian:bookworm-slim AS bench
LABEL author=frappé LABEL author=frappé
@ -145,7 +145,7 @@ RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh |
EXPOSE 8000-8005 9000-9005 6787 EXPOSE 8000-8005 9000-9005 6787
FROM bench as bench-test FROM bench AS bench-test
# Print version and verify bashrc is properly sourced so that everything works # Print version and verify bashrc is properly sourced so that everything works
# in the interactive shell and Dockerfile # in the interactive shell and Dockerfile

View File

@ -130,7 +130,7 @@ RUN export APP_INSTALL_ARGS="" && \
echo "{}" > sites/common_site_config.json && \ echo "{}" > sites/common_site_config.json && \
find apps -mindepth 1 -path "*/.git" | xargs rm -fr find apps -mindepth 1 -path "*/.git" | xargs rm -fr
FROM base as backend FROM base AS backend
USER frappe USER frappe

View File

@ -115,7 +115,7 @@ RUN bench init \
echo "{}" > sites/common_site_config.json && \ echo "{}" > sites/common_site_config.json && \
find apps -mindepth 1 -path "*/.git" | xargs rm -fr find apps -mindepth 1 -path "*/.git" | xargs rm -fr
FROM base as erpnext FROM base AS erpnext
USER frappe USER frappe