* chore: update Dockerfiles to include LICENSE.txt and adjust Docker Compose paths - Added LICENSE.txt copying to various Dockerfiles for compliance. - Updated Docker Compose file to correct paths for Dockerfiles in the apps directory. - Renamed copy_env_file function to copy_file in setup.sh for clarity and consistency. * chore: refine Docker Compose and setup scripts for improved service builds - Updated Docker Compose file to specify correct build contexts and Dockerfile paths for the monitor and email services. - Removed license file copying from setup.sh to streamline the build process. - Cleaned up .gitignore by removing the LICENSE.txt entry for apps.
19 lines
582 B
Docker
19 lines
582 B
Docker
FROM caddy:2.10.0-builder-alpine AS caddy-builder
|
|
|
|
RUN xcaddy build \
|
|
--with github.com/caddy-dns/[email protected] \
|
|
--with github.com/caddy-dns/digitalocean@04bde2867106aa1b44c2f9da41a285fa02e629c5 \
|
|
--with github.com/mholt/caddy-l4@4d3c80e89c5f80438a3e048a410d5543ff5fb9f4
|
|
|
|
FROM caddy:2.10.0-alpine
|
|
|
|
RUN apk add --no-cache nss-tools bash curl
|
|
|
|
COPY --from=caddy-builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
COPY Caddyfile.ee /etc/caddy/Caddyfile
|
|
|
|
COPY LICENSE.txt .
|
|
RUN mkdir -p /usr/share/licenses/plane/
|
|
COPY LICENSE.txt /usr/share/licenses/plane/LICENSE.txt
|