Last active
February 11, 2018 23:19
-
-
Save ksakae1216/0281bde1ab3ccab881e0114929e44352 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
# Linux OS | |
FROM centos:7 | |
# 準備 | |
RUN yum -y update | |
# Nginx | |
# リポジトリ登録 | |
RUN rpm -ivh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm | |
# インストール | |
RUN yum install -y nginx | |
EXPOSE 80 | |
# 自動起動 | |
systemctl enable nginx.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment