Skip to content

Instantly share code, notes, and snippets.

@ksakae1216 ksakae1216/dockerfile
Last active Feb 11, 2018

What would you like to do?
# Linux OS
FROM centos:7
# 準備
RUN yum -y update
# Nginx
# リポジトリ登録
RUN rpm -ivh
# インストール
RUN yum install -y nginx
# 自動起動
systemctl enable nginx.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.