You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
759 B

FROM abiosoft/caddy:php-no-stats
LABEL maintainer="Sippakorn K <sipp11@zzyzx.co>"
# Install application dependencies
# RUN curl --silent --show-error --fail --location \
# --header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" -o - \
# "https://caddyserver.com/download/linux/amd64?plugins=http.expires,http.realip&license=personal" \
# | tar --no-same-owner -C /usr/bin/ -xz caddy \
# && chmod 0755 /usr/bin/caddy \
# && /usr/bin/caddy -version \
# && docker-php-ext-install mbstring pdo pdo_mysql
COPY . /srv/app
COPY docker/Caddyfile /etc/Caddyfile
WORKDIR /srv
# RUN chown -R www-data:www-data /srv/app
ENTRYPOINT ["/bin/parent", "caddy"]
CMD ["--conf", "/etc/Caddyfile", "--log", "stdout"]