diff --git a/Dockerfile b/Dockerfile index 74b449e..dfca61e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,12 +8,13 @@ RUN apt-get update && apt-get install -y \ RUN mkdir -p /app/markdown -COPY *.md /app/markdown -COPY *.md /usr/share/nginx/html COPY template.html /app/markdown COPY default.conf /etc/nginx/conf.d +COPY *.md /app/markdown +COPY *.md /usr/share/nginx/html + RUN for md_file in /app/markdown/*.md; do \ if [ -f "$md_file" ]; then \ filename=$(basename -- "$md_file"); \