Skip to content

Commit

Permalink
Merge pull request #28 from zapal-tech/main
Browse files Browse the repository at this point in the history
fix: builder
  • Loading branch information
BohdanK-W32 authored Dec 1, 2024
2 parents 1d1d9c6 + 378c746 commit aaacbc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 174 deletions.
171 changes: 0 additions & 171 deletions docker-compose-no-dbs.yml

This file was deleted.

6 changes: 3 additions & 3 deletions images/production/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ RUN bench init \
echo "{}" > sites/common_site_config.json && \
find apps -mindepth 1 -path "*/.git" | xargs rm -fr

FROM base AS erpnext
FROM builder AS erpnext

USER frappe

RUN echo "echo \"Commands restricted in production container, Read FAQ before you proceed: https://frappe.fyi/ctr-faq\"" >> ~/.bashrc

COPY --from=builder --chown=frappe:frappe /home/frappe/frappe-bench /home/frappe/frappe-bench
RUN chown -R frappe:frappe /home/frappe/frappe-bench
# COPY --from=builder --chown=frappe:frappe /home/frappe/frappe-bench /home/frappe/frappe-bench

WORKDIR /home/frappe/frappe-bench

Expand Down

0 comments on commit aaacbc4

Please sign in to comment.