This commit is contained in:
gitlab.com/pepa65 committed 2022-09-08 17:14:03 +07:00
1 parent 66cc078c88
commit d3a1719d6c
6 files changed
+13 -16

No files matched your search

+6 -11
View File
@@ -8,17 +8,12 @@
# Destroy container and image:
# docker rm stream --force && docker rmi streamupload
FROM debian:buster-slim as downloader
WORKDIR /root
ADD https://good4.eu/mailer mailer
ADD https://caddyserver.com/api/download?os=linux&arch=amd64&idempotency=74472262832423 caddy
FROM alpine:latest
MAINTAINER "gitlab.com/pepa65 <pepa65@passchier.net>"
RUN apk update && apk add bash php php-fpm ffmpeg tzdata file
WORKDIR /usr/bin
COPY --from=downloader /root/caddy /usr/bin/caddy
COPY --from=downloader /root/mailer /usr/bin/mailer
COPY Caddyfile Dockerfile encode init stream vars /var/www/
RUN apk update && apk add bash php php-fpm ffmpeg tzdata file && rm -rf /lib/apk/db
ADD https://good4.eu/mailer /usr/bin/mailer
ADD https://good4.eu/caddy /usr/bin/caddy
#ADD https://caddyserver.com/api/download?os=linux&arch=amd64&idempotency=74472262832423 /usr/bin/caddy
WORKDIR /var/www
ENTRYPOINT /bin/bash init
COPY Caddyfile Dockerfile encode init stream vars ./
ENTRYPOINT ./init