mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 14:52:29 +00:00
Enable Corepack and set Yarn version in Dockerfile for frontend build
Some checks failed
CI/CD Pipeline / frontend-lint (push) Successful in 1m38s
CI/CD Pipeline / frontend-build (push) Failing after 35s
CI/CD Pipeline / backend-lint (push) Failing after 7m3s
CI/CD Pipeline / backend-build (push) Has been skipped
CI/CD Pipeline / e2e-test (push) Has been skipped
Some checks failed
CI/CD Pipeline / frontend-lint (push) Successful in 1m38s
CI/CD Pipeline / frontend-build (push) Failing after 35s
CI/CD Pipeline / backend-lint (push) Failing after 7m3s
CI/CD Pipeline / backend-build (push) Has been skipped
CI/CD Pipeline / e2e-test (push) Has been skipped
This commit is contained in:
parent
e65b637440
commit
e4b345fddc
@ -4,6 +4,9 @@ FROM node:18-alpine AS builder
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Enable corepack and set yarn version
|
||||
RUN corepack enable && corepack prepare yarn@4.12.0 --activate
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json yarn.lock ./
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user