This commit is contained in:
José Henrique 2025-05-31 10:41:41 -03:00
parent fb7d99fea2
commit 070e8b1c91
2 changed files with 3 additions and 2 deletions

View File

@ -31,7 +31,7 @@ jobs:
TAG=latest
docker build \
--build-arg VITE_API_URL="http://api.opencand.ivanch.me" \
--build-arg VITE_API_BASE_URL="http://api.opencand.ivanch.me" \
--file OpenCand.UI.dockerfile \
-t "${{ env.IMAGE_FRONTEND }}:${TAG}" \
.

View File

@ -2,7 +2,8 @@
FROM node:slim AS builder
WORKDIR /app
COPY package.json yarn.lock ./
# Install dependencies
COPY package.json package-lock.json ./
RUN yarn install --frozen-lockfile
COPY . .