replace with yarn
Build and Push Docker Images / build-and-push (push) Successful in 11m34s

This commit is contained in:
2025-08-20 14:32:29 +02:00
parent 752c614b98
commit 4470eb400a
+3 -2
View File
@@ -11,8 +11,9 @@ WORKDIR /opt/app
# Copy only package.json and package-lock.json first for better caching
COPY ./strapi/package.json ./strapi/package-lock.json ./
# Install all dependencies (including devDependencies)
RUN npm i -g yarn
RUN yarn install
# Copy the rest of the Strapi app to a template directory
COPY ./strapi /opt/app-template