Infra: Build container image for all branches (#5)

* infra: Build images for all branches without the need of tags. Stop using latest tag on container image.

* Fix npm install on docker
There are errors when the branch is not ready to be merged. This is a temporary fix to make the docker image buildable on all branches.
This commit is contained in:
Enrique Calderon
2025-02-07 09:58:35 -06:00
committed by GitHub
parent fddd0582e8
commit 40ca7d4b6e
2 changed files with 11 additions and 7 deletions

View File

@@ -2,7 +2,8 @@
FROM node:20-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
RUN npm install && \
npm ci
COPY . .
RUN npm run build