fix(docker): implement entrypoint for env var support
build / Go-Build (push) Successful in 1m36s
docker / docker (push) Successful in 4m58s

This commit is contained in:
2026-05-29 00:40:14 +02:00
parent da6abf0cbe
commit f58d8ef280
2 changed files with 16 additions and 1 deletions
+3 -1
View File
@@ -16,4 +16,6 @@ RUN apt update && apt install -y curl tar \
&& mv resvg /usr/local/bin/resvg \
&& chmod +x /usr/local/bin/resvg
COPY --from=builder /app/svg-templater /usr/local/bin/svg-templater
CMD ["svg-templater"]
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]