chore: Upgrade nginx
This commit is contained in:
parent
4594fd8541
commit
a4d87fa5ae
|
@ -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
|
# Copie des sources du site
|
||||||
COPY public /usr/share/nginx/html
|
COPY public /usr/share/nginx/html
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "hugo server",
|
"start": "hugo server",
|
||||||
"serve": "(cd public && python3 -m http.server 8080)",
|
"serve": "(cd public && python3 -m http.server 8080)",
|
||||||
"staging": "rm -rf public && hugo -D --minify --environment staging && node themes/hugo-theme-lowtech/scripts/typo && DATE=`date +\"%Y0101\"` && find public -exec touch -d $DATE {} + && docker-compose -f docker-compose.yml -f docker-compose.staging.yml up -d --build --force-recreate",
|
"staging": "rm -rf public && hugo -D --minify --environment staging && node themes/hugo-theme-lowtech/scripts/typo && docker-compose -f docker-compose.yml -f docker-compose.staging.yml up -d --build --force-recreate",
|
||||||
"prod": "rm -rf public && hugo --minify --environment production && node themes/hugo-theme-lowtech/scripts/typo && DATE=`date +\"%Y0101\"` && find public -exec touch -d $DATE {} + && docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build --force-recreate",
|
"prod": "rm -rf public && hugo --minify --environment production && node themes/hugo-theme-lowtech/scripts/typo && docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build --force-recreate",
|
||||||
"favicon": "convert content/lestoitsduval-icon.png -resize 32x32 -colors 16 \\( -clone 0 -resize 16x16 -extent 16x16 \\) \\( -clone 0 -resize 32x32 -extent 32x32 \\) -delete 0 static/favicon.ico",
|
"favicon": "convert content/lestoitsduval-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",
|
"svgo": "svgo */**.svg",
|
||||||
"ftp-deploy": "lftp -u $LESTOITSDUVAL_FTP_USER,$LESTOITSDUVAL_FTP_PASSWORD $LESTOITSDUVAL_FTP_HOST -e 'mirror -e -R ./public /www ; quit'",
|
"ftp-deploy": "lftp -u $LESTOITSDUVAL_FTP_USER,$LESTOITSDUVAL_FTP_PASSWORD $LESTOITSDUVAL_FTP_HOST -e 'mirror -e -R ./public /www ; quit'",
|
||||||
|
|
Loading…
Reference in New Issue