Skip to content

Docker improvement: create volume for caching ui and actix binaries. - #9

Merged
darioalessandro merged 1 commit into
mainfrom
add-volumes-for-compiled-code
Oct 12, 2022
Merged

Docker improvement: create volume for caching ui and actix binaries.#9
darioalessandro merged 1 commit into
mainfrom
add-volumes-for-compiled-code

Conversation

@darioalessandro

Copy link
Copy Markdown
Member

Right now we bind EVERYTHING under ../ to /app this is expensive, especially on mac os, which leads to longer compile times.

This fixes that by creating volumes for both the UI and actix-web to keep its cached compiled binaries.

@resnickmicah resnickmicah left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I didn't have a chance to run it because I'm out on vacation and only have my dinky little macbook that can't handle docker, but it looks good to me!

@darioalessandro
darioalessandro merged commit d0d66a6 into main Oct 12, 2022
@darioalessandro
darioalessandro deleted the add-volumes-for-compiled-code branch October 12, 2022 12:28
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