fix(docker): build context = pwap root so shared/ is reachable

Vite aliases @pezkuwi/utils → ../shared/utils, so the Docker build context
must include both web/ and shared/. Previous context: ./web missed shared/
which caused 'Could not load /shared/utils/formatting' at module resolution.

Changes:
- Dockerfile WORKDIR=/build/web; COPY web/* and shared/* explicitly
- Workflow context: ./ + file: ./web/Dockerfile
- Move .dockerignore from web/ to pwap root (matches new context)
This commit is contained in:
2026-05-08 20:44:19 +03:00
parent ca3976fe62
commit faba2dee5d
4 changed files with 50 additions and 24 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
context: ./web
context: ./
file: ./web/Dockerfile
push: true
tags: |