mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-09-16 03:02:43 +00:00
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user