pm2 ecosystem

This commit is contained in:
2026-02-07 09:07:46 +00:00
parent df4f986565
commit 1c97dccced
2 changed files with 9 additions and 12 deletions

View File

@@ -1,12 +0,0 @@
FROM oven/bun:1
WORKDIR /app
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile
COPY src ./src
EXPOSE 7345
CMD ["bun", "run", "src/index.ts"]

9
ecosystem.config.cjs Normal file
View File

@@ -0,0 +1,9 @@
module.exports = {
apps: [
{
name: "year",
script: "src/index.ts",
interpreter: "bun",
},
],
};