LoginSignup
7
7

More than 5 years have passed since last update.

alpineベース のdockerのnginxのconfを調整する

Last updated at Posted at 2016-03-14

TL;DR

  • docker hubの公式 nginx の docker imageをベースに設定ファイルを追加する
  • nginx:mainline-alpine がalpineベースのnginx 1.9.12 (2016/03/14時点)
  • OFFICIAL REPOSITORY のDescriptionの設定どおりにDockerfileを作ればok

Dockerfile

FROM nginx:mainline-alpine

MAINTAINER tknzk

COPY nginx.conf /etc/nginx/nginx.conf

Ref

7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7