add platform gateway dockerfile

This commit is contained in:
2026-07-08 14:47:29 +09:00
parent 05d0fd80f0
commit 01389965b9
2 changed files with 34 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
.env
.env.*
!.env.example
.git
.agents
node_modules
dist
build
coverage
*.log
Dockerfile
+23
View File
@@ -0,0 +1,23 @@
FROM oven/bun:1.2 AS build
WORKDIR /app
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile
COPY tsconfig.json ./
COPY src ./src
RUN bun run typecheck
FROM oven/bun:1.2 AS runner
WORKDIR /app
ENV NODE_ENV=production
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile --production
COPY src ./src
EXPOSE 4500
CMD ["bun", "src/index.ts"]