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

Decrease Docker image size #59

Merged
merged 2 commits into from
Dec 1, 2017
Merged

Decrease Docker image size #59

merged 2 commits into from
Dec 1, 2017

Conversation

mbeacom
Copy link
Contributor

@mbeacom mbeacom commented Nov 30, 2017

The goal of this PR is to resolve #56 by modifying the base image to python:2.7-slim and no longer ADD repository code.

Additionally, this PR moves from ADD to COPY directives.

Previous image information:

Container       Repository      Tag       Image Id      Size
----------------------------------------------------------------
web_web_1         web_migration   latest   6fbcfa64baa3   998 MB

New size:

Container   Repository    Tag       Image Id      Size
-------------------------------------------------------
web_web_1   web_web      latest   1e455f3776d7   443 MB

@owocki
Copy link
Contributor

owocki commented Dec 1, 2017

🎉

@gitcoinbot
Copy link
Member

⚡️ A tip worth 0.03 ETH has been granted to @mbeacom for this issue. ⚡️

Nice work @mbeacom, check your email for further instructions. | Send a Tip

@owocki owocki merged commit 3830882 into gitcoinco:master Dec 1, 2017
@mbeacom mbeacom deleted the slim-dockerfile branch December 1, 2017 22:42
ethikz pushed a commit to ethikz/web that referenced this pull request Jan 24, 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.

Decrease Docker image size
3 participants