copy the correct package manifests

This commit is contained in:
Chris Grimmett 2024-04-08 23:00:38 -08:00
parent c624239ca0
commit b18d3b29c0
1 changed files with 8 additions and 8 deletions

View File

@ -4,12 +4,12 @@ WORKDIR /app
# ENV PATH="$PNPM_HOME:$PATH" # ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable RUN corepack enable
RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev libc6-compat git nasm bash gcompat RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev libc6-compat git nasm bash gcompat
COPY pnpm-lock.yaml package.json ./ COPY ./packages/strapi/pnpm-lock.yaml ./packages/strapi/package.json ./
RUN pnpm install RUN pnpm install
# COPY ./packages/strapi . COPY ./packages/strapi .
# RUN pnpm run build RUN pnpm run build
# RUN chown -R node:node /app RUN chown -R node:node /app
# USER node USER node
# ENV NODE_ENV=production ENV NODE_ENV=production
# ENTRYPOINT ["pnpm"] ENTRYPOINT ["pnpm"]
# CMD ["run", "start"] CMD ["run", "start"]