chore: switch from yarn -> pnpm; remove netlify.toml
This commit is contained in:
parent
9855b79b92
commit
faac3bfb6a
5 changed files with 3897 additions and 2953 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,5 +1,4 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
pnpm-lock.yaml
|
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
.vscode
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
[build]
|
|
||||||
command="yarn build"
|
|
||||||
publish="build"
|
|
||||||
|
|
||||||
[functions]
|
|
||||||
node_bundler = "esbuild" # temporary workaround for https://github.com/sveltejs/kit/issues/6462
|
|
||||||
3897
pnpm-lock.yaml
Normal file
3897
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,20 +0,0 @@
|
||||||
FROM node:24-alpine AS builder
|
|
||||||
WORKDIR /app
|
|
||||||
COPY package*.json ./
|
|
||||||
|
|
||||||
RUN npm i -g pnpm
|
|
||||||
RUN pnpm ci
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
RUN pmpm build
|
|
||||||
RUN pnpm prune --production
|
|
||||||
|
|
||||||
FROM node:24-alpine
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
COPY --from=builder /app/build build/
|
|
||||||
COPY --from=builder /app/node_modules node_modules/
|
|
||||||
COPY package.json .
|
|
||||||
EXPOSE 3000
|
|
||||||
ENV NODE_ENV=production
|
|
||||||
CMD [ "node", "build" ]
|
|
||||||
Loading…
Reference in a new issue