Get caddy working
This commit is contained in:
1 parent
4580ddebbe
commit
4e1c3432a4
3 files changed
+19
-12
No files matched your search
+9
-1
@@ -8,9 +8,17 @@
|
||||
# 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/
|
||||
WORKDIR /var/www
|
||||
ENTRYPOINT /var/www/init
|
||||
ENTRYPOINT /bin/bash init
|
||||
Reference in new issue
Block a user