ai/at
1
0

fix feed docker

This commit is contained in:
2026-02-03 00:28:58 +09:00
parent bfa82b1880
commit f27cae0669
2 changed files with 22 additions and 0 deletions

View File

@@ -155,3 +155,5 @@ services:
- ./envs/feed
volumes:
- ./data/feed:/data/
depends_on:
- jetstream

20
docker/feed/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM node:20-alpine
WORKDIR /app
# Install dependencies for better-sqlite3
RUN apk add --no-cache python3 make g++
# Copy package files and install
COPY package.json yarn.lock ./
RUN yarn install
# Copy source
COPY . .
# Build TypeScript
RUN yarn build
EXPOSE 3000
CMD ["node", "dist/index.js"]