Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize Dockerfile: Reduce Layers and Improve Build Performance #362

Closed
wants to merge 1 commit into from

Conversation

SainiAditya1
Copy link

What does this PR do?

Combined corepack enable, pnpm install, and pnpm run build commands into a single RUN instruction.

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

Yes

Copy link

vercel bot commented Nov 19, 2023

@SainiAditya1 is attempting to deploy a commit to the appwrite Team on Vercel.

A member of the Team first needs to authorize it.

@TorstenDittmann
Copy link
Contributor

I dont think the build will work like this 🤔

@TorstenDittmann TorstenDittmann self-requested a review November 21, 2023 09:45
@SainiAditya1
Copy link
Author

@TorstenDittmann Thanks for the review , please refer to this article https://docs.docker.com/develop/develop-images/instructions/ .

Signed-off-by: Aditya Saini <adityasaini10012001@outlook.com>
@SainiAditya1
Copy link
Author

@TorstenDittmann , Please Review this.

@TorstenDittmann
Copy link
Contributor

TorstenDittmann commented Jun 5, 2024

@TorstenDittmann Thanks for the review , please refer to this article https://docs.docker.com/develop/develop-images/instructions/ .

It will still not work like this due to --mount 👍🏻
Bildschirmfoto 2024-06-05 um 12 05 42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants