refactoring some containers

This commit is contained in:
Mahmoud Zalt
2016-07-25 07:31:31 +03:00
parent 462b5685eb
commit d58ef06907
3 changed files with 18 additions and 12 deletions

View File

@ -1,11 +1,12 @@
FROM alpine:3.4
MAINTAINER Eric Pfeiffer <computerfr33k@users.noreply.github.com>
LABEL caddy_version="0.9.0" architecture="amd64"
RUN apk update \
&& apk upgrade \
&& apk add tar curl
&& apk upgrade \
&& apk add tar curl
RUN curl --silent --show-error --fail --location \
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" -o - \
@ -16,7 +17,9 @@ RUN curl --silent --show-error --fail --location \
&& /usr/bin/caddy -version
EXPOSE 80 443 2015
WORKDIR /var/www/laravel/public
ENTRYPOINT ["caddy"]
CMD ["-conf", "/etc/Caddyfile"]