refactor: update Dockerfile for improved workspace structure and build process

- Adjusted the Dockerfile to copy package.json files from workspace packages, ensuring proper dependency resolution.
- Modified the build context in the deploy workflow to streamline the Docker image build process.
- Enhanced the build steps to navigate to the web app directory before building, ensuring correct application setup.
This commit is contained in:
2025-11-26 10:48:01 -03:00
parent 08869fe5da
commit 75989b0546
2 changed files with 20 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: ./apps/web
context: .
file: ./Dockerfile
push: true
# Make sure to replace with your own namespace and repository