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:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user