Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
webwurst committed Apr 27, 2016
1 parent bb91270 commit 6d77f32
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM alpine:3.3

RUN apk add --update curl \
RUN apk add --update-cache curl ca-certificates \
&& rm -rf /var/cache/apk/*

# ENV CADDY_VERSION 0.8.1
# ENV CADDY_VERSION 0.8.3
ENV CADDY_FEATURES ""
#^ "cors,git,hugo,ipfilter,jsonp,search"

Expand All @@ -12,8 +12,7 @@ RUN ARCH=$(if [ $(apk --print-arch) = x86_64 ]; then echo "amd64"; else $(apk --
| tar -xz -C /usr/bin \
&& chmod u+x /usr/bin/caddy

RUN mkdir -p /var/www \
&& printf "0.0.0.0\nroot /var/www\nbrowse\n" > /Caddyfile
COPY ./Caddyfile /etc/caddy/

EXPOSE 80 443
CMD ["caddy"]
CMD ["caddy", "-conf", "/etc/caddy/Caddyfile"]

0 comments on commit 6d77f32

Please sign in to comment.