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

fix: remove install and copy from dockerfile #67

Merged
merged 3 commits into from
Jan 6, 2022
Merged

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Jan 6, 2022

🧭 What and Why

Because the local folder is mounted inside docker, it overrides everything and downloading the java formatter before doesn't work.

In the same idea, we can remove every copy and yarn install, as everything is mounted with yarn docker:setup, that require yarn install first.
This reduces the image size to 420MB.

Changes included:

  • Don't download java formatter
  • Remove yarn install
  • Remove the whole copy

🧪 Test

  • yarn docker:setup

@millotp millotp requested a review from shortcuts January 6, 2022 13:40
@millotp millotp self-assigned this Jan 6, 2022
@millotp millotp changed the title fix: remove java formatter from dockerfile fix: remove install and copy from dockerfile Jan 6, 2022
Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NICE!

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