diff --git a/.gitea/workflows/workflow.yaml b/.gitea/workflows/workflow.yaml index 8b7e810..a597059 100644 --- a/.gitea/workflows/workflow.yaml +++ b/.gitea/workflows/workflow.yaml @@ -46,7 +46,7 @@ jobs: uses: docker/build-push-action@v6 working-directory: ./${{ matrix.workingdir }} with: - context: . + context: ./${{ matrix.workingdir }} file: ${{ matrix.dockerfile }} push: true tags: ${{ steps.meta.outputs.tags }} diff --git a/backend/Dockerfile b/backend/Dockerfile index dbca861..088a3b9 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,7 +1,7 @@ # Build Stage FROM node:23-alpine AS build WORKDIR /app -COPY ./backend/package.json /app/ +COPY ./package.json /app/ RUN pwd && ls -al RUN npm install COPY . . diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 98065f1..bbf9a8d 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,7 +1,7 @@ # Build Stage FROM node:23-alpine AS build WORKDIR /app -COPY ./frontend/package.json /app/ +COPY ./package.json /app/ RUN ls -al RUN npm install COPY . .