Last active
September 14, 2018 19:48
-
-
Save spurti-chopra/53a671aa9a2c5b96ff3739a568892b87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Dockerfile, with RUN uncombined | |
FROM ubuntu:16.04 | |
ADD app.zip . # App of 200 MB | |
RUN chmod 777 app.zip | |
RUN rm -rf app.zip | |
## Dockerfile, with RUN combined | |
FROM ubuntu:16.04 | |
ADD app.zip . # App of 200 MB | |
RUN chmod 777 app.zip && rm -rf app.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment