Last active
November 2, 2015 10:08
-
-
Save tadjik1/5b52176de35eecdb3e28 to your computer and use it in GitHub Desktop.
Dockerfile
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 for %example% project | |
FROM centos:centos7 | |
MAINTAINER Sergey Zelenov <[email protected]> | |
RUN yum update -y | |
# Install EPEL | |
RUN yum install -y epel-release | |
# Install Nginx | |
RUN yum install -y nginx | |
# Copy a configuration file from the current directory | |
... | |
# Install NodeJS | |
... | |
# Install pm2 for running nodejs process | |
... | |
# Install pm2 syslog | |
... | |
# Create folder structure | |
... | |
# Copy project files | |
... | |
WORKDIR /srv/html | |
ENTRYPOINT ["bin/docker_entrypoint"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment