Skip to content

Instantly share code, notes, and snippets.

@snarlysodboxer
Created May 10, 2014 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snarlysodboxer/2d4036fa0a52c812e992 to your computer and use it in GitHub Desktop.
Save snarlysodboxer/2d4036fa0a52c812e992 to your computer and use it in GitHub Desktop.

this:

FROM localhost:5000/ubuntu/base-12.04:latest
MAINTAINER The CTI Solutions Inc. Team

ADD delete_me_code/ /var/www/current/

RUN mkdir /var/www/current/log
RUN mkdir /var/www/current/tmp
RUN mkdir /var/www/current/var

VOLUME ["/var/www/current"]

verses this:

FROM localhost:5000/ubuntu/base-12.04:latest
MAINTAINER The CTI Solutions Inc. Team

VOLUME ["/var/www/current"]

ADD delete_me_code/ /var/www/current/

RUN mkdir /var/www/current/log
RUN mkdir /var/www/current/tmp
RUN mkdir /var/www/current/var
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment