Merge pull request #1655 from appwrite/fix-corepack-build

fix: corepack build
This commit is contained in:
Christy Jacob
2025-02-10 09:01:58 +05:30
committed by GitHub
+2 -1
View File
@@ -5,6 +5,7 @@ WORKDIR /app
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN corepack prepare pnpm@10.0.0 --activate
ADD ./package.json /app/package.json
ADD ./pnpm-lock.yaml /app/pnpm-lock.yaml
@@ -38,4 +39,4 @@ FROM nginx:1.25-alpine
EXPOSE 80
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/build /usr/share/nginx/html/console
COPY --from=build /app/build /usr/share/nginx/html/console