Last active
December 12, 2017 14:04
-
-
Save diogocapela/c0cc1ef1736224f0c2b44d4711bae882 to your computer and use it in GitHub Desktop.
Dockerfiles
This file contains hidden or 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
FROM node | |
WORKDIR /src | |
ADD . /src | |
RUN yarn | |
EXPOSE 3000 | |
CMD ["npm", "start"] |
This file contains hidden or 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
FROM php:7.0-apache | |
COPY . /var/www/html/ | |
// $ docker build -t my-php-app . | |
// $ docker run -d my-php-app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment