From f15819eb5d792ec3dc1900135279be0346a293af Mon Sep 17 00:00:00 2001 From: Daria Grudzien Date: Wed, 25 Jun 2025 22:14:50 +0200 Subject: [PATCH 1/2] add compose troubleshooting --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 0aed5353a..6284eeeb0 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,25 @@ $ docker compose up The website will be available at `http://localhost:4321`. +#### Docker Troubleshooting + +Docker Compose mounts volumes from your file system to enable live reload. If +you're having problems starting the container, try this: + +``` +# Clean everything +docker compose down -v # Remove volumes +docker image rmi website-web # Clean unused images +docker rm website-web # Clean unused containers + +# Remove local pnpm store if it exists +rm -rf .pnpm-store + +# Rebuild from scratch +docker compose build --no-cache +docker compose up +``` + ## Content Structure 🗂️ The content of the site is store in this repository. We are using Astro's From 290817d6292176775ce12c2a83fb1e91f8940095 Mon Sep 17 00:00:00 2001 From: Daria Grudzien Date: Wed, 25 Jun 2025 22:18:16 +0200 Subject: [PATCH 2/2] update preview with paths-ignore --- .github/workflows/preview.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 98306415c..738c9b9ae 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -2,6 +2,8 @@ name: Preview on: pull_request: + paths-ignore: # skip building preview if changes are limited to following paths + - "README.md" jobs: preview: