Add Coolify deployment support
publish-github-pages / deploy (push) Waiting to run

Multi-stage Dockerfile builds the email-builder, admin frontend, and Go
backend from source and stuffs assets into the binary. The runtime-only
image moved to Dockerfile.goreleaser for release builds. Adds a Coolify
compose file with magic service variables, healthchecks, and volumes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
h202-wq
2026-07-09 10:16:18 -04:00
parent 66d9a033c9
commit 9da8d50370
7 changed files with 164 additions and 10 deletions
+26
View File
@@ -0,0 +1,26 @@
FROM alpine:latest
# Install dependencies
RUN apk --no-cache add ca-certificates tzdata shadow su-exec
# Set the working directory
WORKDIR /eaglecast
# Copy only the necessary files
COPY eaglecast .
COPY config.toml.sample config.toml
# Copy the entrypoint script
COPY docker-entrypoint.sh /usr/local/bin/
# Make the entrypoint script executable
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
# Expose the application port
EXPOSE 9000
# Set the entrypoint
ENTRYPOINT ["docker-entrypoint.sh"]
# Define the command to run the application
CMD ["./eaglecast"]