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

Reduces image size using Alpine + Multistage (re: #278) #281

Closed
wants to merge 1 commit into from

Conversation

iMerica
Copy link

@iMerica iMerica commented May 23, 2018

Hey Simon!

I got the image size down from 256MB to 110MB.

Seems to be working okay, but you might want to test it a bit more.

Example output of docker run --rm -it <my-tag> datasette

Serve! files=() on port 8001
[2018-05-23 05:23:08 +0000] [1] [INFO] Goin' Fast @ http://127.0.0.1:8001
[2018-05-23 05:23:08 +0000] [1] [INFO] Starting worker [1]

Related: #278

@iMerica iMerica changed the title Reduces image size using Alpine + Multistage Reduces image size using Alpine + Multistage (re: #278) May 23, 2018
@simonw
Copy link
Owner

simonw commented May 23, 2018

I'm afraid I just merged #280 which means this no longer applies. You're very welcome to see if you can further optimize the new Dockerfile though.

@iMerica iMerica closed this May 26, 2018
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.

None yet

2 participants