Merge branch 'develop'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -11,13 +11,15 @@ WORKDIR /app
|
||||
# Build
|
||||
FROM base AS build
|
||||
|
||||
RUN corepack enable
|
||||
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
RUN npm install
|
||||
RUN npm rebuild sharp
|
||||
RUN pnpm install --frozen-lockfile
|
||||
RUN pnpm rebuild sharp
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
RUN pnpm run build
|
||||
|
||||
# Production
|
||||
FROM base AS production
|
||||
@@ -40,4 +42,5 @@ CMD [ "node", ".output/server/index.mjs" ]
|
||||
FROM base AS development
|
||||
WORKDIR /app
|
||||
|
||||
ENTRYPOINT [ "npm", "run", "dev" ]
|
||||
RUN corepack enable
|
||||
ENTRYPOINT [ "pnpm", "run", "dev" ]
|
||||
|
||||
Reference in New Issue
Block a user