Skip to content

Commit

Permalink
fix: sort sitemap contents
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislavbebej committed Jan 30, 2024
1 parent 066541b commit c0765b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN mkdir /ejks \
&& for i in $(cat piesen.list); do php-cgi -q jks.php id=$i | minify --type html | tr -d '\n' > /ejks/$i.html; done

# Build sitemap.txt
RUN find /ejks -type f -name '*.html' | sed 's#/ejks#https://ejks.sk#g' > /ejks/sitemap.txt
RUN find /ejks -type f -name '*.html' | sed 's#/ejks#https://ejks.sk#g' | sort -u > /ejks/sitemap.txt

# Runtime container
FROM nginx:1.25.3-alpine-slim
Expand Down

0 comments on commit c0765b9

Please sign in to comment.