From f3a5dc56fa042a5cd139fe3d0b5671e24a775d89 Mon Sep 17 00:00:00 2001 From: Simon C Date: Mon, 12 Apr 2021 17:20:43 +0200 Subject: [PATCH] chore: Upgrade nginx --- Dockerfile | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index be58b6f..fe82c9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.weko.io/nginx-lowtech:0.0.5 +FROM registry.weko.io/nginx-lowtech:0.0.8 # Copie des sources du site COPY public /usr/share/nginx/html diff --git a/package.json b/package.json index bbdebd3..c3f23e0 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "start": "hugo server -D", "serve": "(cd public && python3 -m http.server 8080)", - "build": "rm -rf public && hugo -D --minify && node themes/hugo-theme-lowtech/scripts/typo && purgecss --css public/css/*.css --content public/index.html --output public/css/ && DATE=`date +\"%Y0101\"` && find public -exec touch -d $DATE {} +", + "build": "rm -rf public && hugo -D --minify && node themes/hugo-theme-lowtech/scripts/typo && purgecss --css public/css/*.css --content public/index.html --output public/css/ && DATE=`date +\"%Y0101\"`", "favicon": "convert static/icon.png -resize 32x32 -colors 16 \\( -clone 0 -resize 16x16 -extent 16x16 \\) \\( -clone 0 -resize 32x32 -extent 32x32 \\) -delete 0 static/favicon.ico", "svgo": "svgo */**.svg", "deploy": "docker-compose up -d --build",