issues/27: docker build without yarn.lock

This commit is contained in:
Valery Petrov
2026-05-29 20:29:57 +03:00
committed by Valeriy Petrov
parent 617945c730
commit a6d9526d73
+2 -2
View File
@@ -2,8 +2,8 @@
FROM node:24-alpine AS assets
WORKDIR /app
COPY package.json yarn.lock ./
RUN corepack enable && yarn install --frozen-lockfile
COPY package.json yarn.lock* ./
RUN corepack enable && if [ -f yarn.lock ]; then yarn install --frozen-lockfile; else yarn install; fi
COPY webpack.config.js ./
COPY assets ./assets
COPY public ./public