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
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:
parent
8403a87a29
commit
37e769b135
@ -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 }}
|
||||||
|
@ -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 . .
|
||||||
|
@ -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 . .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user