Last active
September 19, 2017 14:48
-
-
Save pvgomes/85bec7303661c36736fa52d7e6d8242d to your computer and use it in GitHub Desktop.
Dockerfile_node-nginx-alpine
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
FROM alpine:3.3 | |
MAINTAINER Paulo Gomes <pv.gomes89@gmail.com> | |
#Update and Intalation Ubuntu Packages | |
RUN apk update && \ | |
apk upgrade && \ | |
apk add --update \ | |
nginx \ | |
nodejs | |
WORKDIR /srv/www | |
ADD . /srv/www | |
#Commands | |
CMD exec nginx | |
#Port | |
EXPOSE 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment