Slide 24
Slide 24 text
Dockerfile
24
# syntax = docker/dockerfile:experimental
FROM hamee/hoge_appenv:1.0.1
MAINTAINER Takahiro.Kikumoto
WORKDIR /root
RUN --mount=type=bind,target=. \
mitamae local ./docker/itamae/recipe.rb && \
rm -rf /var/cache/yum/* && \
yum clean all
EXPOSE 80
ENTRYPOINT [\
"render", \
"/path/to/hogeapp/config.ini", \
"/etc/ssmtp/ssmtp.conf", \
"--", \
"/usr/local/bin/start.sh" \
]
"render", \
"/path/to/hogeapp/config.ini", \
"/etc/ssmtp/ssmtp.conf",