Updated
This commit is contained in:
parent
c55d1374c6
commit
90057b851e
13 changed files with 6081 additions and 1499 deletions
|
|
@ -1,10 +1,10 @@
|
|||
FROM oven/bun:canary-alpine AS build
|
||||
FROM node:22-alpine AS build
|
||||
WORKDIR /app
|
||||
COPY package*.json bun.lock ./
|
||||
RUN bun install && bun pm trust --all
|
||||
COPY package*.json ./
|
||||
RUN corepack enable
|
||||
RUN pnpm install
|
||||
COPY . .
|
||||
ENV NODE_ENV=production
|
||||
RUN bun run build
|
||||
RUN pnpm build
|
||||
|
||||
FROM nginx:alpine AS runtime
|
||||
COPY ./.deployment/nginx/nginx.conf /etc/nginx/nginx.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue