From 37e769b135871f6ab5a382773fcbb7f603fd9664 Mon Sep 17 00:00:00 2001 From: Phill Pover Date: Thu, 27 Mar 2025 11:20:41 +0000 Subject: [PATCH] Fixing build --- .gitea/workflows/workflow.yaml | 2 +- backend/Dockerfile | 2 +- frontend/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 . .