Anpassung für dynamische Content-Gits
Some checks failed
release-tag / release-image (push) Failing after 43s

This commit is contained in:
2025-05-10 19:13:29 +02:00
parent d7726b57e4
commit 12ce629b31
3 changed files with 29 additions and 5 deletions

View File

@@ -31,6 +31,7 @@ RUN mkdir -p /out/content /out/static /out/pages
RUN find /src/articles -name '*.md' -exec cp {} /out/content/ \;
RUN cp -r /src/static/* /out/static/
RUN cp -r /src/pages/* /out/pages/
RUN cp -r /src/templates/* /out/templates/
############################
@@ -52,10 +53,12 @@ COPY . /app
COPY --from=content /out/content /content
COPY --from=content /out/static /static
COPY --from=content /out/pages /pages
COPY --from=content /out/templates /templates
ENV BLOG_CONTENT_DIR=/content
ENV BLOG_STATIC_DIR=/static
ENV BLOG_PAGES_DIR=/pages
ENV BLOG_TEMPLATES_DIR=/templates
EXPOSE 8080
CMD ["blog"]