Fixing build
All checks were successful
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Successful in 54s
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Successful in 1m9s

This commit is contained in:
Phill Pover 2025-03-27 11:20:41 +00:00
parent 8403a87a29
commit 37e769b135
3 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ jobs:
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
working-directory: ./${{ matrix.workingdir }} working-directory: ./${{ matrix.workingdir }}
with: with:
context: . context: ./${{ matrix.workingdir }}
file: ${{ matrix.dockerfile }} file: ${{ matrix.dockerfile }}
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}

View File

@ -1,7 +1,7 @@
# Build Stage # Build Stage
FROM node:23-alpine AS build FROM node:23-alpine AS build
WORKDIR /app WORKDIR /app
COPY ./backend/package.json /app/ COPY ./package.json /app/
RUN pwd && ls -al RUN pwd && ls -al
RUN npm install RUN npm install
COPY . . COPY . .

View File

@ -1,7 +1,7 @@
# Build Stage # Build Stage
FROM node:23-alpine AS build FROM node:23-alpine AS build
WORKDIR /app WORKDIR /app
COPY ./frontend/package.json /app/ COPY ./package.json /app/
RUN ls -al RUN ls -al
RUN npm install RUN npm install
COPY . . COPY . .